mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
tmp
This commit is contained in:
parent
e70b313c80
commit
9de4f9a409
2 changed files with 5 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ def _run_hooks(
|
|||
verbose=args.verbose, use_color=args.color,
|
||||
)
|
||||
retval |= current_retval
|
||||
if current_retval and (config['fail_fast'] or hook.fail_fast):
|
||||
if current_retval and (config['fail_fast'] or hook.fail_fast or args.fail_fast):
|
||||
break
|
||||
if retval and args.show_diff_on_failure and prior_diff:
|
||||
if args.all_files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue