replace exit(main()) with raise SystemExit(main())

Committed via https://github.com/asottile/all-repos
This commit is contained in:
Anthony Sottile
2021-10-23 13:23:50 -04:00
parent 9fc352be79
commit 39ab2ed85e
32 changed files with 32 additions and 32 deletions

View File

@ -99,4 +99,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
if __name__ == '__main__':
exit(main())
raise SystemExit(main())