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/mixed_line_ending.py b/pre_commit_hooks/mixed_line_ending.py index 0ef8e2c..4e07ed9 100644 --- a/pre_commit_hooks/mixed_line_ending.py +++ b/pre_commit_hooks/mixed_line_ending.py
@@ -85,4 +85,4 @@ if __name__ == '__main__': - exit(main()) + raise SystemExit(main())