mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Forgot the sys.exit
This commit is contained in:
parent
04b421978a
commit
40c6bb03de
3 changed files with 6 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import argparse
|
||||
import os.path
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from pre_commit import git
|
||||
from pre_commit.clientlib.validate_config import validate_config
|
||||
|
|
@ -131,4 +132,4 @@ def run(argv):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
sys.exit(run())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue