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
Hook fail_fast says in the documentation that pre-commit will stop if this hook fails, which suggests it is referring only to the present hook. After testing on pre-commit v3.6.2, the actual behaviour appears to be that pre-commit will stop if this or any previous hook fails.
I find the actual behaviour quite useful, as it means we can avoid running a slow hook (e.g. pytest) if any other hook has failed. Thus, my suggestion is to edit the documentation.
The text was updated successfully, but these errors were encountered:
Hook
fail_fast
says in the documentation that pre-commit will stop if this hook fails, which suggests it is referring only to the present hook. After testing on pre-commit v3.6.2, the actual behaviour appears to be that pre-commit will stop if this or any previous hook fails.I find the actual behaviour quite useful, as it means we can avoid running a slow hook (e.g. pytest) if any other hook has failed. Thus, my suggestion is to edit the documentation.
The text was updated successfully, but these errors were encountered: