Paul Gey
a54391e96f
Force gem installation into GEM_HOME
...
When `--user-install` is set in the gemrc config file, `gem` ignores
`GEM_HOME`. `--no-user-install` prevents this behaviour.
2022-05-07 20:44:02 +02:00
Anthony Sottile
3929fe4a63
upgrade CI to ubuntu-latest / windows-latest
2022-04-24 19:10:09 -04:00
Anthony Sottile
b952c99898
fix tests for golang 1.18
2022-04-13 17:52:55 -04:00
Walluce Pinkham
9b3df4b90e
Handling multiple outputs from dotnet pack
2022-04-07 13:16:56 -04:00
Anthony Sottile
1722448c3b
fix python 2.7 repo: local hooks
2022-04-02 21:19:13 -04: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
54331dca6f
get lua version from luarocks itself
2022-01-17 15:46:36 -05:00
Matt Layman
3f8be7400d
Add naive and untested version of Lua language support.
2022-01-17 13:43:38 -05:00
Anthony Sottile
270b539e8f
improve coverage pragmas with covdefaults 2.1
...
Committed via https://github.com/asottile/all-repos
2021-11-29 20:45:40 -05:00
Anthony Sottile
b2a35414aa
bump perltidy version
2021-11-22 18:43:47 -05:00
Stojan Nedic
63ae399db0
Add fail_fast support per-hook
2021-10-22 19:16:30 -04:00
Anthony Sottile
8c844c794d
work around conda bug installing python3.1/site-packages
...
https://github.com/conda/conda/issues/10969
2021-10-11 20:21:34 -04:00
Anthony Sottile
2fc00f73b6
un-xfail node on windows
...
these have been reasonably stable for a while
2021-09-27 20:00:18 -04:00
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