mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-27 03:18:39 -06:00
replace exit(main()) with raise SystemExit(main())
Committed via https://github.com/asottile/all-repos
This commit is contained in:
@@ -124,4 +124,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
||||
Reference in New Issue
Block a user