mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Runnable as python -m pre_commit
This commit is contained in:
parent
196fd87df0
commit
ffe65ad275
1 changed files with 7 additions and 0 deletions
7
pre_commit/__main__.py
Normal file
7
pre_commit/__main__.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from __future__ import absolute_import
|
||||
|
||||
from pre_commit.main import main
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
Loading…
Add table
Add a link
Reference in a new issue