diff options
Diffstat (limited to 'pre_commit/languages/pygrep.py')
-rw-r--r-- | pre_commit/languages/pygrep.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/languages/pygrep.py b/pre_commit/languages/pygrep.py index c80d679..a713c3f 100644 --- a/pre_commit/languages/pygrep.py +++ b/pre_commit/languages/pygrep.py @@ -124,4 +124,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int: if __name__ == '__main__': - exit(main()) + raise SystemExit(main()) |