Exclude the test files from pre-commit.
They're not meant to be checked by the hooks in .pre-commit-config.yaml (that test the code in the repo) but by the ones in .pre-commit-hooks.yaml (test cases for the hooks in the repo).
They're not meant to be checked by the hooks in .pre-commit-config.yaml (that test the code in the repo) but by the ones in .pre-commit-hooks.yaml (test cases for the hooks in the repo).