Anthony Sottile
043565d28a
test dart directly
2023-01-17 18:44:14 -05:00
Anthony Sottile
d24055cb40
test perl language directly
2023-01-17 17:34:04 -05:00
Anthony Sottile
9a56f8dca0
Merge pull request #2705 from pre-commit/speed-up-r-tests
...
speed up R unit tests
2023-01-17 14:51:00 -05:00
Anthony Sottile
966c67a832
speed up R unit tests
2023-01-17 14:16:13 -05:00
Anthony Sottile
c36f03cd2e
test swift language directly
2023-01-17 13:51:06 -05:00
Anthony Sottile
f1b5f66374
test conda language directly
2023-01-17 13:05:49 -05:00
Anthony Sottile
70bfd76ced
coursier: additional_dependencies support
2023-01-17 09:59:04 -05:00
taoufik07
9afd63948e
Make Go a first class language
2023-01-13 12:42:57 -05:00
Ruairidh MacLeod
e904628830
fix dotnet hooks with prefixes
2022-12-21 13:35:19 -05:00
Anthony Sottile
b00c31cf9e
use a newer version of ruby which builds cleanly
2022-12-12 12:22:39 -05:00
Anthony Sottile
0b45ecc8a4
remove python 2.x cross version tests
2022-12-06 17:36:57 -05:00
Anthony Sottile
46c64efd9d
update .net framework target
2022-12-06 15:00:06 -05: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
Matt Layman
3f8be7400d
Add naive and untested version of Lua language support.
2022-01-17 13:43:38 -05:00
Anthony Sottile
3512e441f4
replace echo image with focal
2021-12-20 17:38:59 -05:00
Anthony Sottile
f8e21cb78b
add support for dart as a hook language
2021-08-29 08:57:56 -07:00
Lorenz
b8fff8c508
Avoid warnings with R hooks when renv version don't match
2021-05-04 18:56:43 -07:00
Lorenz
f1502119a2
add support for R via renv
2021-03-07 13:58:14 -08:00
Rafik Draoui
fe1f56c08f
Add support for Go 1.16
...
Go 1.16 changes the way modules are handled. It now expects Go projects
to have non-empty `go.mod` files.
This change is compatible with Go 1.15.
Fixes #1815
2021-02-25 19:25:39 -04: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
Ruairidh MacLeod
003e4c21e0
add initial dotnet support
2020-09-27 15:04:35 -07:00
Ville Skyttä
1295364986
Add basic perl repo test
2020-02-01 15:41:14 +02:00
Anthony Sottile
9000e9dd41
Some manual .format() -> f-strings
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
76a184eb07
Update get-swift for bionic
2020-01-12 10:15:02 -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
0c0427bfbd
Add duration to verbose run
2019-12-28 18:20:10 -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
2633d38a63
Fix ordering of mixed stdout / stderr printing
2019-10-12 13:35:04 -07:00
Anthony Sottile
bea33af310
small cleanups in tests
2019-01-06 12:08:52 -08:00
Anthony Sottile
c577ed92e7
Refactor pre_commit.repository and factor out cached-property
2018-12-30 20:56:49 -08:00
Anthony Sottile
51cf46e660
Simplify setup.py in arbitrary_bytes_repo
2018-06-03 20:56:07 -07:00
Chris Kuehl
b4edf2ce50
Add tests for Rust
2018-05-22 21:52:34 -07:00
Anthony Sottile
f88e007f52
Fix test since pip 10 changed output
2018-05-21 21:38:36 -07:00
Anthony Sottile
b5af5a5b27
Add test for python_venv language
2018-05-12 11:37:13 -07:00
Anthony Sottile
b4541d8a5f
Update the versioned node hook test
2018-01-11 22:20:21 -08:00
Anthony Sottile
a506a1cac1
Simplify cross version tests
2018-01-02 18:34:00 -08:00
Anthony Sottile
e9509306d8
Implement pygrep language as a replacement for pcre
2017-09-22 22:31:30 -07:00
Anthony Sottile
9c3bbecab8
Add new docker_image language type.
...
`docker_image` is intended to be a lightweight hook type similar to system /
script which allows one to use an existing docker image which provides a
hook.
2017-09-02 19:49:23 -07:00
Anthony Sottile
86d9ca053b
Remove legacy 'hooks.yaml' file support
2017-07-13 10:29:36 -07:00
Anthony Sottile
05a108efe1
Implement exclude_types
2017-07-02 19:08:33 -07:00
Anthony Sottile
a58d99ac40
Implement types filtering
2017-07-02 18:51:23 -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
cb8dd335f4
Replace jsonschema with better error messages
2017-03-08 14:07:00 -08:00