Commit Graph

23 Commits

Author SHA1 Message Date
Anthony Sottile
03617b2f98 Don't crash out on OSErrors in subprocess calls 2020-03-12 10:52:10 -07:00
Anthony Sottile
01be1713cf Don't crash on un-stringable exceptions 2020-03-10 09:02:51 -07:00
Anthony Sottile
df40e862f4 More miscellaneous cleanup 2020-01-13 11:47:34 -08:00
Anthony Sottile
67c2dcd90d Remove pre_commit.five 2020-01-12 13:39:53 -08:00
Anthony Sottile
aefbe71765 Clean up calls to .encode() / .decode() 2020-01-12 10:46:33 -08:00
Anthony Sottile
327ed924a3 Add types to pre-commit 2020-01-12 10:15:01 -08:00
Anthony Sottile
fa536a8693 mypy passes with check_untyped_defs 2020-01-12 09:27:04 -08:00
Anthony Sottile
30c1e8289f upgrade hooks, pyupgrade pre-commit 2020-01-12 09:27:04 -08:00
Anthony Sottile
795506a486 Fix up some newlines in output 2019-09-24 10:22:44 -07:00
marqueewinq
cb164ef629 replaced str concat with .write_line(); replaced \t with spaces; removed trailing space in logs 2019-09-24 16:25:27 +03:00
marqueewinq
e0155fbd66 removed meta from stdout; replaced = with : ; handled sys.version newlines; stylized errorlog to md 2019-09-24 15:50:07 +03:00
marqueewinq
de63b6a850 updated import style; put the version info on top of error message; fixed tests 2019-09-24 13:34:46 +03:00
marqueewinq
247d45af05 fixed #1141 2019-09-20 15:05:51 +03:00
Anthony Sottile
f21316ebe8 Improve output when interrupted (^C) 2019-05-11 12:19:00 -07:00
Anthony Sottile
9e34e6e316 pre-commit gc 2019-01-02 19:07:23 -08:00
Anthony Sottile
18c9e061d8 Small cleanups 2017-09-30 15:53:44 -07:00
Anthony Sottile
0120af56a7 Adhere to XDG specification for cache dir. 2017-09-06 10:00:35 -07:00
Anthony Sottile
a9e1940f7e Use SystemExit instead of PreCommitSystemExit 2017-09-04 13:42:19 -07:00
Anthony Sottile
c65a11ce3d Replace five with six 2017-03-08 14:25:54 -08:00
Anthony Sottile
0dda19f691 Reorganize output writing 2016-11-26 12:15:55 -08:00
Anthony Sottile
2aaaddb5cc Fail gracefully on undecodable install output. 2016-01-12 10:08:59 -08:00
Anthony Sottile
2463738af4 Fix printing of non-ascii in error handler 2015-12-01 12:48:44 -08:00
Anthony Sottile
9a017dcbe9 Add error_handler and use it. 2014-08-13 11:02:28 -07:00