mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
exit(main()) -> raise SystemExit(main()) pt2
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
26a05b547e
commit
28cafc2273
5 changed files with 5 additions and 5 deletions
|
|
@ -68,4 +68,4 @@ def main() -> int:
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
|
|
|||
|
|
@ -106,4 +106,4 @@ def main() -> int:
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
|
|
|||
|
|
@ -45,4 +45,4 @@ def main() -> int:
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue