mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Forgot the sys.exit
This commit is contained in:
parent
04b421978a
commit
40c6bb03de
3 changed files with 6 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ from __future__ import print_function
|
|||
|
||||
import argparse
|
||||
import re
|
||||
import sys
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit.clientlib.validate_base import get_validator
|
||||
|
|
@ -90,4 +91,4 @@ def run(argv):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
sys.exit(run())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue