mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Make the code argument non optional
This commit is contained in:
parent
544e941b27
commit
c99db7830b
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class FatalError(RuntimeError):
|
|||
|
||||
def _log_and_exit(
|
||||
msg: str,
|
||||
code: int = 0,
|
||||
code: int,
|
||||
exc: BaseException,
|
||||
formatted: str,
|
||||
) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue