commit | 39ab2ed85eb587ed3261189f31e5c0f191735bb8 | [log] [tgz] |
---|---|---|
author | Anthony Sottile <asottile@umich.edu> | Sat Oct 23 13:23:50 2021 -0400 |
committer | Anthony Sottile <asottile@umich.edu> | Sat Oct 23 13:23:50 2021 -0400 |
tree | 4a84cb4ea01c10f74387e6775de5b661855bd753 | |
parent | 9fc352be79c357552d76d744990a0e992c1510f7 [diff] [blame] |
replace exit(main()) with raise SystemExit(main()) Committed via https://github.com/asottile/all-repos
diff --git a/pre_commit_hooks/check_merge_conflict.py b/pre_commit_hooks/check_merge_conflict.py index dc25b29..aed1e9c 100644 --- a/pre_commit_hooks/check_merge_conflict.py +++ b/pre_commit_hooks/check_merge_conflict.py
@@ -51,4 +51,4 @@ if __name__ == '__main__': - exit(main()) + raise SystemExit(main())