We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7abd18 commit 611a444Copy full SHA for 611a444
pre_commit_hooks/file_contents_sorter.py
@@ -12,6 +12,7 @@
12
from __future__ import print_function
13
14
import argparse
15
+import sys
16
from typing import IO
17
from typing import Optional
18
from typing import Sequence
@@ -53,3 +54,7 @@ def main(argv=None): # type: (Optional[Sequence[str]]) -> int
53
54
retv |= ret_for_file
55
56
return retv
57
+
58
59
+if __name__ == '__main__':
60
+ sys.exit(main())
0 commit comments