Skip to content
New issue

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? Sign in to your account

Additional docs for troubleshooting precommit #645

Open
sjspielman opened this issue Jul 23, 2024 · 0 comments
Open

Additional docs for troubleshooting precommit #645

sjspielman opened this issue Jul 23, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@sjspielman
Copy link
Member

I think I have encountered this before, and it had something to do with the pre-commit cache. First check that you have the latest version of the hook with pre-commit autoupdate -c {your.local.precommit.yml}, but if that does not work you may want to run pre-commit clean and see if that fixes things.

Originally posted by @jashapiro in #642 (comment)


I'm opening this issue to track a potential "nice to have" doc (either in the precommit page or FAQ) about troubleshooting advanced usage of pre-commit. This approach worked for me, so it may help others if it turns out they encounter it! We can add these docs if we get multiple questions about it.

@sjspielman sjspielman added the documentation Improvements or additions to documentation label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant