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:48 -04:00
parent 663a766a0c
commit c8cf74dc71
6 changed files with 6 additions and 6 deletions

View file

@ -2,4 +2,4 @@ from pre_commit.main import main
if __name__ == '__main__':
exit(main())
raise SystemExit(main())