mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
feat: Adds just_warn option to allow commit when return value is not zero
This commit is contained in:
parent
b74a22d96c
commit
6f0b860928
3 changed files with 10 additions and 3 deletions
|
|
@ -35,6 +35,7 @@ class Hook(NamedTuple):
|
|||
require_serial: bool
|
||||
stages: Sequence[str]
|
||||
verbose: bool
|
||||
just_warn: bool
|
||||
|
||||
@property
|
||||
def install_key(self) -> tuple[Prefix, str, str, tuple[str, ...]]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue