Miro Hrončok
|
901e831313
|
Tests: Adjust traceback regexes to allow Python 3.11+ ^^^^^^^
Fixes https://github.com/pre-commit/pre-commit/issues/2451
|
2022-07-10 02:03:56 +02:00 |
|
Anthony Sottile
|
04de6a2e57
|
drop python 3.6 support
python 3.6 reached end of life on 2021-12-23
|
2022-01-18 18:44:20 -05:00 |
|
Anthony Sottile
|
c05f58b776
|
add git version to error output
|
2022-01-16 07:20:12 -08:00 |
|
int3l
|
47e758d8f1
|
Distinct error handling exit codes
https://tldp.org/LDP/abs/html/exitcodes.html - exit codes convention
|
2020-10-28 11:13:04 -07:00 |
|
Anthony Sottile
|
91530f1005
|
check cygwin mismatch earlier
|
2020-09-20 10:42:11 -07:00 |
|
Anthony Sottile
|
3a0406847b
|
fix excess whitespace in traceback in error
|
2020-09-07 15:01:50 -07:00 |
|
Anthony Sottile
|
cee834bb5e
|
better error handling when Store is readonly
|
2020-07-25 12:32:54 -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
|
9000e9dd41
|
Some manual .format() -> f-strings
|
2020-01-12 13:39:53 -08:00 |
|
Anthony Sottile
|
ab19b94811
|
some manual py2 cleanups
|
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
|
4941ed58d5
|
Normalize crlf in tests
|
2019-12-23 18:27:30 -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 |
|
Mickaël Schoentgen
|
67d6fcb0f6
|
Fix several ResourceWarning: unclosed file
|
2018-08-10 18:30:22 +02:00 |
|
Anthony Sottile
|
c01ffc83f8
|
Separate store from runner
|
2018-06-29 22:35:53 -07:00 |
|
Anthony Sottile
|
0f54fedac9
|
Replace deprecated yield_fixture with fixture
Committed via https://github.com/asottile/all-repos
|
2018-01-21 15:31:17 -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
|
0dda19f691
|
Reorganize output writing
|
2016-11-26 12:15:55 -08:00 |
|
Anthony Sottile
|
57638134e3
|
Make a helper for running pre-commit as a subprocess under test
|
2016-02-07 13:03:59 -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
|
143ed94500
|
Tests pass on windows
|
2015-02-27 00:48:01 -08:00 |
|
Anthony Sottile
|
fd109b7745
|
reorder-python-imports
|
2015-01-04 15:49:19 -08:00 |
|
Anthony Sottile
|
9a017dcbe9
|
Add error_handler and use it.
|
2014-08-13 11:02:28 -07:00 |
|