Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
For a working example, check out https://github.com/pkoch/test-check-useless-excludes (without --recursive, or run git submodule deinit --all) and run pre-commit run --all.
git submodule deinit --all
pre-commit run --all
The text was updated successfully, but these errors were encountered:
hmm indeed -- the "test" hook gets initialized with types: [file] which filters out the symlink -- the fix needs to happen here -- notably it should probably have a hook.setdefault('types', ) ? something like that?
Sorry, something went wrong.
Unsure, can't really reason about the code. However, I can add that adding types:  to check-useless-excludes doesn't help.
Interesting! Any clues on why adding types:  on my side didn't help?
Successfully merging a pull request may close this issue.