-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unable to install pre-commit hook #13
Comments
I have been getting the same error since this morning! with the same error log above. I also tried to delete ~/.cache/pre-commit and re-install the hooks, but that did not work. All other environments installation succeed but not I am using MacOS |
This error was fixed in #12, but was not yet released. You can apply the fix manually locally until it's released:
This fixed the error for me. |
Thanks @Apakottur for the information. |
Thanks for the fix, it worked for me as proposed. However, it is required to commit the changes to .pre-commit-config.yaml before I can make new commits which I don't want to have in my PRs. How long in your estimate it would take to release the change? |
We have the following hook configuration (
.pre-commit-config.yaml
)Unfortunately, trying to install the hook results in the following error:
We observe this behavior on Linux (x86) as well as macOS (ARM) but not consistently.
On one macOS device it still work, although that might be due to some
pre-commit
caching going on. I did try to delete~/.cache/pre-commit
and re-install the hooks. But it still works for that machine, somehow.Does anybody have any ideas what might be going wrong?
The text was updated successfully, but these errors were encountered: