add in an option to disable a hook when run with --all-files

This commit is contained in:
Matt Dering 2022-12-02 09:33:31 -05:00
parent cb0bcfd67f
commit 3a8b270dc0
3 changed files with 7 additions and 3 deletions

View file

@ -36,6 +36,7 @@ class Hook(NamedTuple):
require_serial: bool
stages: Sequence[str]
verbose: bool
run_all: bool
@property
def cmd(self) -> tuple[str, ...]: