Commit Graph

23 Commits

Author SHA1 Message Date
Anthony Sottile
0c70fa4229 Use asottile/add-trailing-comma 2017-07-12 18:30:51 -07:00
Anthony Sottile
840a55bbc3 Fixup log_file commit 2017-05-08 11:04:07 -07:00
Alex Hutton
f2644a4f2e Adds support for 'log_file' in hook config
Specify a filename on a per hook basis and
pre-commit will write the STDOUT and STDERR
of that hook into the file. Useful for CI.

Resolves #499.
2017-05-08 10:54:04 +10:00
Anthony Sottile
0dda19f691 Reorganize output writing 2016-11-26 12:15:55 -08:00
Anthony Sottile
e832ddc57f Merge pull request #408 from pre-commit/no_pyterminalsize
Use 80 or min width instead of terminal size
2016-10-23 16:48:53 -07:00
Anthony Sottile
b81c9802ae Remove py26 format literals
Resolves #403
2016-09-15 08:41:58 -07:00
Anthony Sottile
a677c42e21 Use 80 or min width instead of terminal size 2016-08-31 17:15:52 -07:00
Anthony Sottile
710c24b868 Use pyterminalsize for terminal sizing 2016-02-21 21:07:08 -08:00
Anthony Sottile
a9498d28a7 Fall back to tput when terminal size information is missing 2016-02-20 22:15:23 -08:00
Anthony Sottile
4f6e4aedee Support terminal width on windows. Resolves #199 2016-02-20 20:55:39 -08:00
Anthony Sottile
248930f6dc Fix appveyor and windows. Resolves #293 2015-11-23 22:28:57 -08:00
Anthony Sottile
3472f2b3ce Add some missing no cover comments 2015-10-19 14:18:24 -07:00
Anthony Sottile
7321108083 Supress stderr when TERM is unset 2015-08-19 12:02:28 -07:00
Anthony Sottile
7905594215 Don't UnicodeDecodeError on non-ascii not-found hooks. Resolves #207. 2015-05-22 21:55:08 -07:00
Anthony Sottile
143ed94500 Tests pass on windows 2015-02-27 00:48:01 -08:00
Anthony Sottile
fa9db4ec23 Fix terminal width detection. 2014-09-05 14:08:10 -07:00
Anthony Sottile
598e54640b Use virtualenv python from install-time for less virtualenv requirements at commit time. 2014-09-04 10:19:20 -07:00
Anthony Sottile
ecf82ed5e0 Use bytes for sys.stdout.write in PY2. Closes #161. 2014-09-02 16:11:45 -07:00
Anthony Sottile
9a017dcbe9 Add error_handler and use it. 2014-08-13 11:02:28 -07:00
Anthony Sottile
7c49c9f7d9 Default tput cols to 80. 2014-07-17 16:47:57 -07:00
Anthony Sottile
85a76617c1 Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
Anthony Sottile
01b557c497 Various cleanup. 2014-06-06 07:38:25 -07:00
Anthony Sottile
cce97ccba9 Include hook id in output with --verbose. Closes #88. 2014-04-19 22:27:21 -04:00