mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
replace exit(main()) with raise SystemExit(main())
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
9fc352be79
commit
39ab2ed85e
32 changed files with 32 additions and 32 deletions
|
|
@ -82,4 +82,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue