mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
add in an option to disable a hook when run with --all-files
This commit is contained in:
parent
cb0bcfd67f
commit
3a8b270dc0
3 changed files with 7 additions and 3 deletions
|
|
@ -36,6 +36,7 @@ class Hook(NamedTuple):
|
|||
require_serial: bool
|
||||
stages: Sequence[str]
|
||||
verbose: bool
|
||||
run_all: bool
|
||||
|
||||
@property
|
||||
def cmd(self) -> tuple[str, ...]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue