Commit graph

7 commits

Author SHA1 Message Date
Squeaky
611a4443d7 add sys.exit(main()) to file_contents_sorter.py 2019-08-03 20:34:39 +02:00
Anthony Sottile
030bfac7e4 Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
Daniel Gallagher
7102e0c8a3 file-contents-sorter should add newline at end of files missing newlines
Make an explicit 'else' path for readability
2017-06-26 08:10:32 -07:00
Daniel Gallagher
7cfec24f77 Fix bug with the file-contents-sorter hook when processing file that does not end in a newline 2017-06-25 14:40:03 -07:00
Daniel Gallagher
4c421e2ed1 Put argument parsing back into main() 2017-06-25 10:22:10 -07:00
Daniel Gallagher
b941d0e6df Respond to review feedback 2017-06-23 14:58:24 -07:00
Daniel Gallagher
9425c5d6b5 First commit of file-contents-sorter precommit hook 2017-06-23 00:33:13 -07:00