anthony sottile
8ea2b790d8
remove sha256 file from zipapp script
...
github displays the checksum for us now!
2025-11-22 16:06:27 -05:00
anthony sottile
95eec75004
rm python3_hooks_repo
2025-11-08 13:34:44 -05:00
anthony sottile
8bbfcf1f82
remove redundant system spaces test
...
`test_args_with_spaces_and_quotes` also covers this behaviour
2025-11-08 13:16:38 -05:00
anthony sottile
fc33a62f3c
upgrade rbenv / ruby-build
2025-10-24 15:18:07 -04:00
JulianMaurin
c78f248c60
Add fail-fast argument for run command
2025-09-06 14:14:23 -04:00
Byoungchan Lee
2a0bcea757
Downgrade Dart SDK version installed in the CI
2025-08-08 17:40:30 +09:00
Byoungchan Lee
f1cc7a445f
Make Dart pre-commit hook compatible with the latest Dart SDKs
...
Dart introduced sound null safety in version 2.12.0, and as of Dart 3,
null safety is mandatory. Older Dart SDKs allowed both pre-null safety
and null-safe packages, but modern Dart SDKs, where most source code is
null-safe, now reject pre-null safety packages.
The current `pubspec.yaml` template with `sdk: '>=2.10.0'` is
incompatible with recent Dart SDKs, leading to the following error:
An unexpected error has occurred: CalledProcessError: command: ('/path/to/dart-sdk/bin/dart', 'pub', 'get')
return code: 65
stdout:
Resolving dependencies...
stderr:
The lower bound of "sdk: '>=2.10.0'" must be 2.12.0'
or higher to enable null safety.
The current Dart SDK (3.8.3) only supports null safety.
For details, see https://dart.dev/null-safety
To ensure compatibility with the modern Dart ecosystem, this commit
updates the minimum Dart SDK version to 2.12.0 or higher,
which implicitly supports null safety.
Additionally, `testing/get-dart.sh` has been updated to verify that
the pre-commit hook functions correctly with the latest Dart versions.
2025-08-08 17:14:59 +09:00
Anthony Sottile
0de4c8028a
remove unused type ignore
2024-10-21 20:35:56 -04:00
Travis Johnson
a4e4cef335
Upgrade to ruby-build v20240917
2024-09-28 13:07:38 -04:00
Anthony Sottile
7f15dc75ee
python3.9+
2023-10-28 14:20:37 -04:00
Anthony Sottile
18348f5d0d
use distlib inside the zipapp docker image
2023-05-17 18:58:11 -04:00
Anthony Sottile
08b670ff9e
swift is included in github actions
2023-05-13 16:37:02 -07:00
Anthony Sottile
9c2a01186b
fix typo in testing/languages
2023-05-13 16:27:14 -04:00
Anthony Sottile
926071b6a7
make some files trigger all languages
2023-05-13 16:03:14 -04:00
Jamie Alessio
cfcb88364e
Upgrade to ruby-build v20230330
2023-04-18 10:58:57 -07:00
Marcelo Galigniana
f39154f69f
Add pre-rebase hook support
2023-03-11 15:17:42 -05:00
Anthony Sottile
e3e17a1617
make --hook-type and stages match
2023-03-11 14:26:14 -05:00
marsha
5ce4a549d3
prefer sys.platform over os.name when checking for windows OS
2023-03-03 22:13:07 -06:00
Anthony Sottile
9655158d93
test languages only when they are changed
2023-02-21 11:11:44 -05:00
Anthony Sottile
d23990cc8b
use run_language for repository_test
2023-02-20 22:21:31 -05:00
Anthony Sottile
d3883ce7f7
move languages.all and languages.helpers out of languages
2023-02-20 18:03:45 -05:00
marsha
915b930a5d
test dotnet directly
2023-02-07 21:47:26 -06:00
marsha
6804100701
test golang directly
2023-02-06 17:02:20 -06:00
Anthony Sottile
0afb95ccca
test docker and docker_image directly
2023-02-04 17:22:06 -05:00
Anthony Sottile
0c1267b214
deprecate python_venv language
2023-02-04 14:26:09 -05:00
Anthony Sottile
909dd0e8a1
test node directly
2023-01-31 21:13:11 -05:00
Anthony Sottile
2530913fad
ensure languages are healthy after creation
2023-01-31 20:40:19 -05:00
Anthony Sottile
5b50acbd2c
test ruby directly
2023-01-30 21:36:13 -05:00
Anthony Sottile
77b4ea38ca
Merge pull request #2729 from pre-commit/rust-tests
...
test rust directly
2023-01-29 19:00:09 -05:00
Anthony Sottile
2adca78c6f
test rust directly
2023-01-29 18:27:10 -05:00
Anthony Sottile
420902f67c
fix r local hooks
...
`language: r` acts more like `language: script` so we have to *not* append
the prefix when run with `repo: local`
2023-01-29 17:27:42 -05:00
Anthony Sottile
6e8051b9e6
speed up ruby tests by picking a prebuilt in 22.04
2023-01-28 18:36:35 -05:00
Jamie Alessio
14c38d18fc
Upgrade to ruby-build v20221225
2023-01-21 11:05:13 -08:00
Anthony Sottile
50848aaca2
Merge pull request #2709 from pre-commit/test-lua
...
test lua directly
2023-01-18 00:12:28 -05:00
Anthony Sottile
f042540311
test lua directly
2023-01-17 23:43:31 -05:00
Anthony Sottile
7512e3b7e1
test r language directly
2023-01-17 23:25:00 -05:00
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
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