Skip to content

Commit 433784d

Browse files
authored
Merge pull request #110 from pre-commit/all-repos_autofix_systemexit-main
replace exit(main()) with raise SystemExit(main())
2 parents 69009da + bcee546 commit 433784d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit_mirror_maker/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
102102

103103

104104
if __name__ == '__main__':
105-
exit(main())
105+
raise SystemExit(main())

0 commit comments

Comments
 (0)