mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +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(
|
def _log_and_exit(
|
||||||
msg: str,
|
msg: str,
|
||||||
code: int = 0,
|
code: int,
|
||||||
exc: BaseException,
|
exc: BaseException,
|
||||||
formatted: str,
|
formatted: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue