Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

willienillie
Copy link

The old version in the example was not working for me.

pre-commit installed at .git/hooks/pre-commit
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-yapf.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-pylint.
[INFO] Initializing environment for https://github.com/APIDevTools/swagger-cli.
An error has occurred: InvalidManifestError: 
=====> /<path-to-my-home-dir>/.cache/pre-commit/repobjoiqw90/.pre-commit-hooks.yaml does not exist
Check the log at / /<path-to-my-home-dir>/.cache/pre-commit/pre-commit.log

Updating to the latest, v4.0.4 version fixed this issue.

The old version in the example was not working for me. 
```pre-commit install --install-hooks
pre-commit installed at .git/hooks/pre-commit
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-yapf.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-pylint.
[INFO] Initializing environment for https://github.com/APIDevTools/swagger-cli.
An error has occurred: InvalidManifestError: 
=====> /<path-to-my-home-dir>/.cache/pre-commit/repobjoiqw90/.pre-commit-hooks.yaml does not exist
Check the log at / /<path-to-my-home-dir>/.cache/pre-commit/pre-commit.log
Updating to the latest, v4.0.4 version worked.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant