mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 10:01:46 +04:00
tmp
This commit is contained in:
parent
e70b313c80
commit
9de4f9a409
2 changed files with 5 additions and 1 deletions
|
|
@ -76,6 +76,10 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
|
|||
'--show-diff-on-failure', action='store_true',
|
||||
help='When hooks fail, run `git diff` directly afterward.',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--fail-fast', action='store_true', default=False,
|
||||
help='Stop after the first failing hook.',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--hook-stage',
|
||||
choices=clientlib.STAGES,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue