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:22:47 -04:00
parent 9eae3da253
commit d2a7014925
3 changed files with 3 additions and 3 deletions

View File

@@ -3,4 +3,4 @@ from __future__ import annotations
from babi.main import main
if __name__ == '__main__':
exit(main())
raise SystemExit(main())

View File

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

View File

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