mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 10:31:46 +04:00
Add quiet mode to pre-commit run
This commit is contained in:
parent
0fd4a2ea38
commit
53670d6a7e
7 changed files with 268 additions and 29 deletions
|
|
@ -107,6 +107,7 @@ def run_opts(
|
|||
hook_stage='commit',
|
||||
show_diff_on_failure=False,
|
||||
commit_msg_filename='',
|
||||
quiet=False,
|
||||
):
|
||||
# These are mutually exclusive
|
||||
assert not (all_files and files)
|
||||
|
|
@ -121,6 +122,7 @@ def run_opts(
|
|||
hook_stage=hook_stage,
|
||||
show_diff_on_failure=show_diff_on_failure,
|
||||
commit_msg_filename=commit_msg_filename,
|
||||
quiet=quiet,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue