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
{{ message }}
Make pre-commit consider a hook as "failed" if it modifies files and still (incorrectly?) exits 0 #285
Activity
Fail a hook if it makes modifications. Resolves #285
Merge pull request #287 from pre-commit/fail_modifying_hooks_285
David2011Hernandez commentedon Mar 18, 2025
It is possible to "disable" this behavior for a specific hook?
asottile commentedon Mar 18, 2025
no, there's no reason that would be a desirable behavior
David2011Hernandez commentedon Mar 18, 2025
I went through different closed old PRs and comments regarding this topic. Maybe I should have done before writing XD
But thanks for answering