mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +04:00
Add quiet mode to testing.util.run_opts
Placed next to verbose due to logical connection. This is not part of a public API so the change should not matter - the tests all seem to pass arguments by name anyway.
This commit is contained in:
parent
662fdf2687
commit
0a20cad202
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ def run_opts(
|
||||||
files=(),
|
files=(),
|
||||||
color=False,
|
color=False,
|
||||||
verbose=False,
|
verbose=False,
|
||||||
|
quiet=False,
|
||||||
hook=None,
|
hook=None,
|
||||||
from_ref='',
|
from_ref='',
|
||||||
to_ref='',
|
to_ref='',
|
||||||
|
|
@ -63,6 +64,7 @@ def run_opts(
|
||||||
files=files,
|
files=files,
|
||||||
color=color,
|
color=color,
|
||||||
verbose=verbose,
|
verbose=verbose,
|
||||||
|
quiet=quiet,
|
||||||
hook=hook,
|
hook=hook,
|
||||||
from_ref=from_ref,
|
from_ref=from_ref,
|
||||||
to_ref=to_ref,
|
to_ref=to_ref,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue