remove unnecessary __name__ check

Also uses the better exit syntax
This commit is contained in:
Tushar Sadhwani 2021-10-12 12:54:49 +05:30 committed by GitHub
parent 2ac26e221c
commit 30a6019fd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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