-
Notifications
You must be signed in to change notification settings - Fork 56
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
pre-commit hook does not work on Windows #473
Comments
As a quick fix, you can set |
This has been fixed in https://github.com/scientific-python/repo-review/releases/tag/v0.11.1 - though pre-commit caches globally, so there will be a new release here soon which should ensure that gets picked up. |
Fixed in latest releases! |
When I try to use the pre-commit hook on Windows it always fails with
or
The unicode characters mentioned in the error are ✅ and ❌.
I tried it in cmd, Powershell and Git Bash and always got these errors.
I can reproduce this issue by just creating an empty git repo with just a
.pre-commit-config.yaml
with:and running
pre-commit run --all-files
.The text was updated successfully, but these errors were encountered: