replace exit(main()) with raise SystemExit(main())
Committed via https://github.com/asottile/all-repos
This commit is contained in:
@@ -3,4 +3,4 @@ from __future__ import annotations
|
||||
from babi.main import main
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
||||
@@ -152,4 +152,4 @@ def main(argv: Sequence[str] | None = None) -> int:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
||||
@@ -67,4 +67,4 @@ def main(argv: Sequence[str] | None = None) -> int:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
raise SystemExit(main())
|
||||
|
||||
Reference in New Issue
Block a user