Anthony Sottile
8529a0c1d3
add pre_commit.yaml module
2023-01-02 18:42:34 -05:00
Anthony Sottile
cddaa0dddc
r is installed by default on GHA
2022-12-29 23:48:34 -05:00
Anthony Sottile
887c5e1142
azure pipelines -> github actions
2022-12-29 22:18:31 -05:00
Anthony Sottile
40e69ce8e3
use modules as protocols
2022-12-27 11:46:11 -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
5becd50974
update swift for jammy
2022-12-06 13:06:23 -05:00
mishaschwartz
97ad4f89ec
ruby: update ruby-build to 20220710 to ensure that the correct openssl version is used
2022-11-07 18:39:24 -05:00
Matt Whitaker
702ebf402c
Expose prepare-commit-msg arguments as environment vars
2022-06-11 14:25:55 -04:00
Gaige B. Paulsen
34e97023f4
force default branch name for tests
2022-05-14 18:40:37 -07:00
Anthony Sottile
3929fe4a63
upgrade CI to ubuntu-latest / windows-latest
2022-04-24 19:10:09 -04:00
Jamie Alessio
392bc33466
Update ruby-build to v20220412
2022-04-17 07:12:48 -07:00
Anthony Sottile
07554e9525
add additional info to healthy-after-install check
2022-04-16 16:46:28 -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
Jamie Alessio
9021fa15dd
Update ruby-build to latest available
2022-03-31 14:05:30 -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
Jamie Alessio
428dc6e46e
Update rbenv / ruby-build versions
2022-01-15 16:19:28 -05:00
Anthony Sottile
3512e441f4
replace echo image with focal
2021-12-20 17:38:59 -05:00
Anthony Sottile
a737d5fe2f
add setuptools to the zipapp. resolves #2122
2021-11-30 18:19:36 -05:00
Anthony Sottile
28cafc2273
exit(main()) -> raise SystemExit(main()) pt2
...
Committed via https://github.com/asottile/all-repos
2021-10-24 07:19:57 -07: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
Florent Clarret
584fd585ec
Expose local branch ref as an environment variable
2021-06-19 18:18:14 +02:00
Jamie Alessio
14afbc7ad6
Update rbenv / ruby-build
2021-05-18 08:08:07 -07:00
Anthony Sottile
9f2f405c3f
Merge pull request #1915 from pre-commit/reproducible-tar
...
make tarfile creation reproducible
2021-05-18 07:59:54 -07:00
Anthony Sottile
c2108d6d43
make tarfile creation reproducible
2021-05-17 20:15:00 -07:00
Lorenz
b8fff8c508
Avoid warnings with R hooks when renv version don't match
2021-05-04 18:56:43 -07:00
Anthony Sottile
d5eda977ce
fix archive permissions for ruby tar.gz roots
2021-04-06 07:55:32 -07:00
Anthony Sottile
3bada745ea
upgrade ruby-build
2021-03-22 19:41:30 -07:00
Lorenz
f1502119a2
add support for R via renv
2021-03-07 13:58:14 -08:00
Anthony Sottile
b193d9e67b
Merge pull request #1800 from psacawa/post-merge-pr
...
Add support for post-merge hooks
2021-02-27 09:19:40 -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
Paweł Sacawa
6b73138c73
Add: post-merge hook support
2021-02-23 19:00:02 -08:00
surafelabebe
cb5ed6276d
Expose remote branch ref as an environment variable
2021-01-22 13:18:25 -08:00
Anthony Sottile
0bd6dfc1a2
also produce sha256sum of pyz on creation
2020-11-25 13:45:22 -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
fbd529204b
make an exe stub for windows
2020-09-28 18:37:10 -07:00
Anthony Sottile
bc198b89ca
add zipapp support
2020-09-28 16:57:59 -07:00
Ruairidh MacLeod
003e4c21e0
add initial dotnet support
2020-09-27 15:04:35 -07:00
Ruairidh MacLeod
eb8b48aeb4
remove docker_is_running check from source
...
Moved to testing.util so it can be used for the skipif_cant_run_docker
test hooks.
2020-08-22 17:33:32 -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
f455312944
Merge pull request #1431 from pre-commit/better_healthy
...
Improve python healthy() and eliminate python_venv
2020-05-04 10:52:59 -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
Dom
928938a6a1
fix hooks firing during staged_files_only
2020-05-02 14:00:21 -07:00