Commit graph

196 commits

Author SHA1 Message Date
Jordan Speicher
4cd8b364dd Add: post-rewrite hook support 2021-09-01 14:50:59 -05:00
Anthony Sottile
f8e21cb78b add support for dart as a hook language 2021-08-29 08:57:56 -07:00
pre-commit-ci[bot]
d3c5cd6ee2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-05-24 17:20:17 +00:00
Lorenz
f1502119a2 add support for R via renv 2021-03-07 13:58:14 -08:00
Paweł Sacawa
6b73138c73 Add: post-merge hook support 2021-02-23 19:00:02 -08:00
Anthony Sottile
833bbf7186 add test for recursive submodules for golang 2021-02-06 12:52:42 -08:00
Anthony Sottile
dbd69af90d
Merge pull request #1772 from pre-commit/caplog_moar
replace fake_log_handler with caplog
2021-01-22 14:34:42 -08:00
Anthony Sottile
c7cbb1e6ad replace fake_log_handler with caplog 2021-01-22 14:02:45 -08:00
Anthony Sottile
4f39946ea3 produce a more useful error message when non-installable things use language_version or additional_dependencies 2021-01-22 13:56:06 -08:00
Anthony Sottile
d57207510d fix reference to github.com/golang/example 2021-01-22 12:26:22 -08:00
Anthony Sottile
89ab609732 fix the default value for types_or 2020-11-25 18:21:37 -08:00
Marco Gorelli
62f668fc3f add types_or 2020-11-02 17:25:10 +00:00
Joseph Moniz
70ab1c3b6f add coursier (jvm) as a language 2020-10-27 09:21:54 -07:00
Anthony Sottile
32a286d530 use implementation-agnostic conda package for test 2020-10-10 17:44:56 -07:00
Ruairidh MacLeod
003e4c21e0 add initial dotnet support 2020-09-27 15:04:35 -07:00
Anthony Sottile
3a0406847b fix excess whitespace in traceback in error 2020-09-07 15:01:50 -07:00
Anthony Sottile
6ec47ea736 fix node hooks when NPM_CONFIG_USERCONFIG is set 2020-06-19 13:58:14 -07:00
Anthony Sottile
1392471854 xfail a flaky node test on windows 2020-06-17 12:55:30 -07:00
Anthony Sottile
e1e6a32c51 skip rbenv if ruby and gem are installed with default language_version 2020-06-15 13:50:47 -07:00
Anthony Sottile
d89486b0f0 oh right, needs a no-cover for xfail 2020-05-10 12:06:27 -07:00
Anthony Sottile
2e47f2dc72 xfail this one too 2020-05-10 11:30:37 -07:00
Anthony Sottile
8db02bd550 xfail these tests on windows (access violation in npm) 2020-05-08 15:55:10 -07:00
Anthony Sottile
3d50b3736a Improve python healthy() and eliminate python_venv
- the `healthy()` check now requires virtualenv 20.x's metadata
- `python_venv` is obsolete now that `virtualenv` generates the same structure
  and `virtualenv` is more portable
2020-05-03 21:55:48 -07:00
ModischFabrications
26adf1d560 add support for post-commit 2020-04-27 10:55:22 -07:00
Anthony Sottile
0f528544b5 Default to language_version: system if node and npm are installed 2020-04-07 20:31:42 -07:00
Anthony Sottile
67c1beb322 Use covdefaults to handle coveragerc 2020-02-29 14:25:19 -08:00
Andrew Hare
18fa004254 Add post-checkout 2020-02-23 10:22:18 -08:00
Ville Skyttä
04471f7d97 Add perl additional dependencies test 2020-02-01 16:13:01 +02:00
Ville Skyttä
1295364986 Add basic perl repo test 2020-02-01 15:41:14 +02:00
Anthony Sottile
755b8000f6 move Hook data type to a separate file 2020-01-15 14:20:51 -08:00
Anthony Sottile
5706b9149c deep listdir works in python3 on windows 2020-01-12 13:39:53 -08:00
Anthony Sottile
67c2dcd90d Remove pre_commit.five 2020-01-12 13:39:53 -08:00
Anthony Sottile
9000e9dd41 Some manual .format() -> f-strings 2020-01-12 13:39:53 -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
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
97e3371046 Remove deprecated pcre language 2020-01-05 13:58:44 -08:00
Anthony Sottile
c699e255a1 support pre-merge-commit 2019-12-26 21:21:00 -08:00
Anthony Sottile
01a628d96d Make verbose output less special 2019-12-23 15:51:58 -08:00
Uwe L. Korn
4ff23b4eab Support for conda as a language 2019-12-20 18:43:59 -08:00
Anthony Sottile
7c3404ef1f show color in hook outputs when attached to a tty 2019-10-12 23:17:36 -07:00
Anthony Sottile
38766816ac Fix fail type signature 2019-10-12 21:29:15 -07:00
Anthony Sottile
2633d38a63 Fix ordering of mixed stdout / stderr printing 2019-10-12 13:35:04 -07:00
Anthony Sottile
f612aeb22b Split out cmd_output_b 2019-10-06 15:16:47 -07:00
Anthony Sottile
071cc422c7 xfail default language version check for azure pipelines 2019-05-31 13:17:54 -07:00
Anthony Sottile
625750eeef fixes for cfgv>=2 2019-05-27 13:37:49 -07:00
Marc Jay
64467f6ab9 Fix broken test_manifest_hooks test 2019-04-21 21:54:23 +01:00
Anthony Sottile
dc28922ccb Run pre-commit autoupdate
Committed via https://github.com/asottile/all-repos
2019-03-21 21:09:33 -07:00
Brett Randall
7d7c9c0fde
Additional fixes prompted by double-quote-string-fixer.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-03-18 10:24:46 +11:00