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
Hi this issue is related to already reported issue link but I would suggest failing the hook instead of auto adding the changes similar to tools like black.
When you run pre-commit run --all-files or change moduel files, hook passes even if it updates the documentation leading to incomplete commits and hacks like the one below. Disabling fail_fast and adding additional step to check the documentation before updating it.
Describe the bug
Hi this issue is related to already reported issue link but I would suggest failing the hook instead of auto adding the changes similar to tools like
black
.When you run
pre-commit run --all-files
or change moduel files, hook passes even if it updates the documentation leading to incomplete commits and hacks like the one below. Disablingfail_fast
and adding additional step to check the documentation before updating it.How can we reproduce it?
Create directory structure.
main.tf
.pre-commit-config.yaml
Environment information
The text was updated successfully, but these errors were encountered: