pre-commit/pre_commit/__main__.py
Tushar Sadhwani 30a6019fd8
remove unnecessary __name__ check
Also uses the better exit syntax
2021-10-12 12:54:49 +05:30

4 lines
60 B
Python

from pre_commit.main import main
raise SystemExit(main())