Add ability to skip hooks by branches

This commit is contained in:
Ivan Studinsky 2023-04-29 18:28:03 +07:00
parent 8656797c78
commit ff5fd29479
4 changed files with 30 additions and 1 deletions

View file

@ -35,6 +35,8 @@ class Hook(NamedTuple):
require_serial: bool
stages: Sequence[str]
verbose: bool
branches: str
exclude_branches: str
@property
def install_key(self) -> tuple[Prefix, str, str, tuple[str, ...]]: