You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 0.12.0 pre-commit has changed the default location for the file formerly known as hooks.yaml to make it more convincing for others to add more hooks.
As such, a migration has to (unfortunately) occur.
For maximum compatibility it is suggested to cp hooks.yaml .pre-commit-hooks.yaml (at least for the migration period). A copy is suggested over a symlink unless you do not care for windows compatibility (and I wouldn't blame you!).
Once the migration period is over (or you no longer care to support old versions of pre-commit), the hooks.yaml file is no longer necessary and may be deleted.
Hello pre-commit hook implementer!
In version 0.12.0 pre-commit has changed the default location for the file formerly known as
hooks.yaml
to make it more convincing for others to add more hooks.As such, a migration has to (unfortunately) occur.
For maximum compatibility it is suggested to
cp hooks.yaml .pre-commit-hooks.yaml
(at least for the migration period). A copy is suggested over a symlink unless you do not care for windows compatibility (and I wouldn't blame you!).Once the migration period is over (or you no longer care to support old versions of pre-commit), the hooks.yaml file is no longer necessary and may be deleted.
See pre-commit/pre-commit#470 for more details
Thanks again for contributing to the pre-commit ecosystem, we couldn't do it without you :)
Anthony
The text was updated successfully, but these errors were encountered: