Closed renovate[bot] closed 1 month ago
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
ā» Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
Creating virtualenv labby-qm8eWC3D-py3.12 in /home/ubuntu/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...
The current project's Python requirement (>=3.7.1,<4.0.0) is not compatible with some of the required packages Python requirement:
- pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.7.1,<3.9
Because labby depends on pre-commit (3.7.0) which requires Python >=3.9, version solving failed.
ā¢ Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For pre-commit, a possible solution would be to set the `python` property to ">=3.9,<4.0.0"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
ā» Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
Creating virtualenv labby-qm8eWC3D-py3.12 in /home/ubuntu/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...
The current project's Python requirement (>=3.7.1,<4.0.0) is not compatible with some of the required packages Python requirement:
- pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.7.1,<3.9
Because labby depends on pre-commit (3.8.0) which requires Python >=3.9, version solving failed.
ā¢ Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For pre-commit, a possible solution would be to set the `python` property to ">=3.9,<4.0.0"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
This PR contains the following updates:
2.12.1
->3.8.0
Release Notes
pre-commit/pre-commit (pre-commit)
### [`v3.8.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#380---2024-07-28) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.7.1...v3.8.0) \================== ##### Features - Implement health checks for `language: r` so environments are recreated if the system version of R changes. - [#3206](https://togithub.com/pre-commit/pre-commit/issues/3206) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#3265](https://togithub.com/pre-commit/pre-commit/issues/3265) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ### [`v3.7.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#371---2024-05-10) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.7.0...v3.7.1) \================== ##### Fixes - Fix `language: rust` default language version check when `rust-toolchain.toml` is present. - issue by [@gaborbernat](https://togithub.com/gaborbernat). - [#3201](https://togithub.com/pre-commit/pre-commit/issues/3201) PR by [@asottile](https://togithub.com/asottile). ### [`v3.7.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#370---2024-03-24) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0) \================== ##### Features - Use a tty for `docker` and `docker_image` hooks when `--color` is specified. - [#3122](https://togithub.com/pre-commit/pre-commit/issues/3122) PR by [@glehmann](https://togithub.com/glehmann). ##### Fixes - Fix `fail_fast` for individual hooks stopping when previous hooks had failed. - [#3167](https://togithub.com/pre-commit/pre-commit/issues/3167) issue by [@tp832944](https://togithub.com/tp832944). - [#3168](https://togithub.com/pre-commit/pre-commit/issues/3168) PR by [@asottile](https://togithub.com/asottile). ##### Updating - The per-hook behaviour of `fail_fast` was fixed. If you want the pre-3.7.0 behaviour, add `fail_fast: true` to all hooks before the last `fail_fast` hook. ### [`v3.6.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#362---2024-02-18) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.1...v3.6.2) \================== ##### Fixes - Fix building golang hooks during `git commit --all`. - [#3130](https://togithub.com/pre-commit/pre-commit/issues/3130) PR by [@asottile](https://togithub.com/asottile). - [#2722](https://togithub.com/pre-commit/pre-commit/issues/2722) issue by [@pestanko](https://togithub.com/pestanko) and [@matthewhughes934](https://togithub.com/matthewhughes934). ### [`v3.6.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#361---2024-02-10) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.0...v3.6.1) \================== ##### Fixes - Remove `PYTHONEXECUTABLE` from environment when running. - [#3110](https://togithub.com/pre-commit/pre-commit/issues/3110) PR by [@untitaker](https://togithub.com/untitaker). - Handle staged-files-only with only a crlf diff. - [#3126](https://togithub.com/pre-commit/pre-commit/issues/3126) PR by [@asottile](https://togithub.com/asottile). - issue by [@tyyrok](https://togithub.com/tyyrok). ### [`v3.6.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#360---2023-12-09) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.5.0...v3.6.0) \================== ##### Features - Check `minimum_pre_commit_version` first when parsing configs. - [#3092](https://togithub.com/pre-commit/pre-commit/issues/3092) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix deprecation warnings for `importlib.resources`. - [#3043](https://togithub.com/pre-commit/pre-commit/issues/3043) PR by [@asottile](https://togithub.com/asottile). - Fix deprecation warnings for rmtree. - [#3079](https://togithub.com/pre-commit/pre-commit/issues/3079) PR by [@edgarrmondragon](https://togithub.com/edgarrmondragon). ##### Updating - Drop support for python<3.9. - [#3042](https://togithub.com/pre-commit/pre-commit/issues/3042) PR by [@asottile](https://togithub.com/asottile). - [#3093](https://togithub.com/pre-commit/pre-commit/issues/3093) PR by [@asottile](https://togithub.com/asottile). ### [`v3.5.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#350---2023-10-13) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.4.0...v3.5.0) \================== ##### Features - Improve performance of `check-hooks-apply` and `check-useless-excludes`. - [#2998](https://togithub.com/pre-commit/pre-commit/issues/2998) PR by [@mxr](https://togithub.com/mxr). - [#2935](https://togithub.com/pre-commit/pre-commit/issues/2935) issue by [@mxr](https://togithub.com/mxr). ##### Fixes - Use `time.monotonic()` for more accurate hook timing. - [#3024](https://togithub.com/pre-commit/pre-commit/issues/3024) PR by [@adamchainz](https://togithub.com/adamchainz). ##### Migrating - Require npm 6.x+ for `language: node` hooks. - [#2996](https://togithub.com/pre-commit/pre-commit/issues/2996) PR by [@RoelAdriaans](https://togithub.com/RoelAdriaans). - [#1983](https://togithub.com/pre-commit/pre-commit/issues/1983) issue by [@henryiii](https://togithub.com/henryiii). ### [`v3.4.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#340---2023-09-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.3...v3.4.0) \================== ##### Features - Add `language: haskell`. - [#2932](https://togithub.com/pre-commit/pre-commit/issues/2932) by [@alunduil](https://togithub.com/alunduil). - Improve cpu count detection when run under cgroups. - [#2979](https://togithub.com/pre-commit/pre-commit/issues/2979) PR by [@jdb8](https://togithub.com/jdb8). - [#2978](https://togithub.com/pre-commit/pre-commit/issues/2978) issue by [@jdb8](https://togithub.com/jdb8). ##### Fixes - Handle negative exit codes from hooks receiving posix signals. - [#2971](https://togithub.com/pre-commit/pre-commit/issues/2971) PR by [@chriskuehl](https://togithub.com/chriskuehl). - [#2970](https://togithub.com/pre-commit/pre-commit/issues/2970) issue by [@chriskuehl](https://togithub.com/chriskuehl). ### [`v3.3.3`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#333---2023-06-13) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.2...v3.3.3) \================== ##### Fixes - Work around OS packagers setting `--install-dir` / `--bin-dir` in gem settings. - [#2905](https://togithub.com/pre-commit/pre-commit/issues/2905) PR by [@jaysoffian](https://togithub.com/jaysoffian). - [#2799](https://togithub.com/pre-commit/pre-commit/issues/2799) issue by [@lmilbaum](https://togithub.com/lmilbaum). ### [`v3.3.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#332---2023-05-17) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.1...v3.3.2) \================== ##### Fixes - Work around `r` on windows sometimes double-un-quoting arguments. - [#2885](https://togithub.com/pre-commit/pre-commit/issues/2885) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#2870](https://togithub.com/pre-commit/pre-commit/issues/2870) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ### [`v3.3.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#331---2023-05-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.0...v3.3.1) \================== ##### Fixes - Work around `git` partial clone bug for `autoupdate` on windows. - [#2866](https://togithub.com/pre-commit/pre-commit/issues/2866) PR by [@asottile](https://togithub.com/asottile). - [#2865](https://togithub.com/pre-commit/pre-commit/issues/2865) issue by [@adehad](https://togithub.com/adehad). ### [`v3.3.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#330---2023-05-01) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.2...v3.3.0) \================== ##### Features - Upgrade ruby-build. - [#2846](https://togithub.com/pre-commit/pre-commit/issues/2846) PR by [@jalessio](https://togithub.com/jalessio). - Use blobless clone for faster autoupdate. - [#2859](https://togithub.com/pre-commit/pre-commit/issues/2859) PR by [@asottile](https://togithub.com/asottile). - Add `-j` / `--jobs` argument to `autoupdate` for parallel execution. - [#2863](https://togithub.com/pre-commit/pre-commit/issues/2863) PR by [@asottile](https://togithub.com/asottile). - issue by [@gaborbernat](https://togithub.com/gaborbernat). ### [`v3.2.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#322---2023-04-03) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2) \================== ##### Fixes - Fix support for swift >= 5.8. - [#2836](https://togithub.com/pre-commit/pre-commit/issues/2836) PR by [@edelabar](https://togithub.com/edelabar). - [#2835](https://togithub.com/pre-commit/pre-commit/issues/2835) issue by [@kgrobelny-intive](https://togithub.com/kgrobelny-intive). ### [`v3.2.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#321---2023-03-25) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.0...v3.2.1) \================== ##### Fixes - Fix `language_version` for `language: rust` without global `rustup`. - [#2823](https://togithub.com/pre-commit/pre-commit/issues/2823) issue by [@daschuer](https://togithub.com/daschuer). - [#2827](https://togithub.com/pre-commit/pre-commit/issues/2827) PR by [@asottile](https://togithub.com/asottile). ### [`v3.2.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#320---2023-03-17) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0) \================== ##### Features - Allow `pre-commit`, `pre-push`, and `pre-merge-commit` as `stages`. - [#2732](https://togithub.com/pre-commit/pre-commit/issues/2732) issue by [@asottile](https://togithub.com/asottile). - [#2808](https://togithub.com/pre-commit/pre-commit/issues/2808) PR by [@asottile](https://togithub.com/asottile). - Add `pre-rebase` hook support. - [#2582](https://togithub.com/pre-commit/pre-commit/issues/2582) issue by [@BrutalSimplicity](https://togithub.com/BrutalSimplicity). - [#2725](https://togithub.com/pre-commit/pre-commit/issues/2725) PR by [@mgaligniana](https://togithub.com/mgaligniana). ##### Fixes - Remove bulky cargo cache from `language: rust` installs. - [#2820](https://togithub.com/pre-commit/pre-commit/issues/2820) PR by [@asottile](https://togithub.com/asottile). ### [`v3.1.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#311---2023-02-27) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.0...v3.1.1) \================== ##### Fixes - Fix `rust` with `language_version` and a non-writable host `RUSTUP_HOME`. - [pre-commit-ci/issues#173](https://togithub.com/pre-commit-ci/issues/issues/173) by [@Swiftb0y](https://togithub.com/Swiftb0y). - [#2788](https://togithub.com/pre-commit/pre-commit/issues/2788) by [@asottile](https://togithub.com/asottile). ### [`v3.1.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#310---2023-02-22) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.4...v3.1.0) \================== ##### Fixes - Fix `dotnet` for `.sln`-based hooks for dotnet>=7.0.200. - [#2763](https://togithub.com/pre-commit/pre-commit/issues/2763) PR by [@m-rsha](https://togithub.com/m-rsha). - Prevent stashing when `diff` fails to execute. - [#2774](https://togithub.com/pre-commit/pre-commit/issues/2774) PR by [@asottile](https://togithub.com/asottile). - [#2773](https://togithub.com/pre-commit/pre-commit/issues/2773) issue by [@strubbly](https://togithub.com/strubbly). - Dependencies are no longer sorted in repository key. - [#2776](https://togithub.com/pre-commit/pre-commit/issues/2776) PR by [@asottile](https://togithub.com/asottile). ##### Updating - Deprecate `language: python_venv`. Use `language: python` instead. - [#2746](https://togithub.com/pre-commit/pre-commit/issues/2746) PR by [@asottile](https://togithub.com/asottile). - [#2734](https://togithub.com/pre-commit/pre-commit/issues/2734) issue by [@asottile](https://togithub.com/asottile). ### [`v3.0.4`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#304---2023-02-03) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.3...v3.0.4) \================== ##### Fixes - Fix hook diff detection for files affected by `--textconv`. - [#2743](https://togithub.com/pre-commit/pre-commit/issues/2743) PR by [@adamchainz](https://togithub.com/adamchainz). - [#2743](https://togithub.com/pre-commit/pre-commit/issues/2743) issue by [@adamchainz](https://togithub.com/adamchainz). ### [`v3.0.3`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#303---2023-02-01) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.2...v3.0.3) \================== ##### Fixes - Revert "Prevent local `Gemfile` from interfering with hook execution.". - [#2739](https://togithub.com/pre-commit/pre-commit/issues/2739) issue by [@Roguelazer](https://togithub.com/Roguelazer). - [#2740](https://togithub.com/pre-commit/pre-commit/issues/2740) PR by [@asottile](https://togithub.com/asottile). ### [`v3.0.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#302---2023-01-29) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.1...v3.0.2) \================== ##### Fixes - Prevent local `Gemfile` from interfering with hook execution. - [#2727](https://togithub.com/pre-commit/pre-commit/issues/2727) PR by [@asottile](https://togithub.com/asottile). - Fix `language: r`, `repo: local` hooks - [pre-commit-ci/issues#107](https://togithub.com/pre-commit-ci/issues/issues/107) by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#2728](https://togithub.com/pre-commit/pre-commit/issues/2728) PR by [@asottile](https://togithub.com/asottile). ### [`v3.0.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#301---2023-01-26) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.0.0...v3.0.1) \================== ##### Fixes - Ensure coursier hooks are available offline after install. - [#2723](https://togithub.com/pre-commit/pre-commit/issues/2723) PR by [@asottile](https://togithub.com/asottile). ### [`v3.0.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#300---2023-01-23) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.21.0...v3.0.0) \================== ##### Features - Make `language: golang` bootstrap `go` if not present. - [#2651](https://togithub.com/pre-commit/pre-commit/issues/2651) PR by [@taoufik07](https://togithub.com/taoufik07). - [#2649](https://togithub.com/pre-commit/pre-commit/issues/2649) issue by [@taoufik07](https://togithub.com/taoufik07). - `language: coursier` now supports `additional_dependencies` and `repo: local` - [#2702](https://togithub.com/pre-commit/pre-commit/issues/2702) PR by [@asottile](https://togithub.com/asottile). - Upgrade `ruby-build` to `20221225`. - [#2718](https://togithub.com/pre-commit/pre-commit/issues/2718) PR by [@jalessio](https://togithub.com/jalessio). ##### Fixes - Improve error message for invalid yaml for `pre-commit autoupdate`. - [#2686](https://togithub.com/pre-commit/pre-commit/issues/2686) PR by [@asottile](https://togithub.com/asottile). - [#2685](https://togithub.com/pre-commit/pre-commit/issues/2685) issue by [@CarstenGrohmann](https://togithub.com/CarstenGrohmann). - `repo: local` no longer provisions an empty `git` repo. - [#2699](https://togithub.com/pre-commit/pre-commit/issues/2699) PR by [@asottile](https://togithub.com/asottile). ##### Updating - Drop support for python<3.8 - [#2655](https://togithub.com/pre-commit/pre-commit/issues/2655) PR by [@asottile](https://togithub.com/asottile). - Drop support for top-level list, use `pre-commit migrate-config` to update. - [#2656](https://togithub.com/pre-commit/pre-commit/issues/2656) PR by [@asottile](https://togithub.com/asottile). - Drop support for `sha` to specify revision, use `pre-commit migrate-config` to update. - [#2657](https://togithub.com/pre-commit/pre-commit/issues/2657) PR by [@asottile](https://togithub.com/asottile). - Remove `pre-commit-validate-config` and `pre-commit-validate-manifest`, use `pre-commit validate-config` and `pre-commit validate-manifest` instead. - [#2658](https://togithub.com/pre-commit/pre-commit/issues/2658) PR by [@asottile](https://togithub.com/asottile). - `language: golang` hooks must use `go.mod` to specify dependencies - [#2672](https://togithub.com/pre-commit/pre-commit/issues/2672) PR by [@taoufik07](https://togithub.com/taoufik07). ### [`v2.21.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2210---2022-12-25) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.20.0...v2.21.0) \=================== ##### Features - Require new-enough virtualenv to prevent 3.10 breakage - [#2467](https://togithub.com/pre-commit/pre-commit/issues/2467) PR by [@asottile](https://togithub.com/asottile). - Respect aliases with `SKIP` for environment install. - [#2480](https://togithub.com/pre-commit/pre-commit/issues/2480) PR by [@kmARC](https://togithub.com/kmARC). - [#2478](https://togithub.com/pre-commit/pre-commit/issues/2478) issue by [@kmARC](https://togithub.com/kmARC). - Allow `pre-commit run --files` against unmerged paths. - [#2484](https://togithub.com/pre-commit/pre-commit/issues/2484) PR by [@asottile](https://togithub.com/asottile). - Also apply regex warnings to `repo: local` hooks. - [#2524](https://togithub.com/pre-commit/pre-commit/issues/2524) PR by [@chrisRedwine](https://togithub.com/chrisRedwine). - [#2521](https://togithub.com/pre-commit/pre-commit/issues/2521) issue by [@asottile](https://togithub.com/asottile). - `rust` is now a "first class" language -- supporting `language_version` and installation when not present. - [#2534](https://togithub.com/pre-commit/pre-commit/issues/2534) PR by [@Holzhaus](https://togithub.com/Holzhaus). - `r` now uses more-reliable binary installation. - [#2460](https://togithub.com/pre-commit/pre-commit/issues/2460) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - `GIT_ALLOW_PROTOCOL` is now passed through for git operations. - [#2555](https://togithub.com/pre-commit/pre-commit/issues/2555) PR by [@asottile](https://togithub.com/asottile). - `GIT_ASKPASS` is now passed through for git operations. - [#2564](https://togithub.com/pre-commit/pre-commit/issues/2564) PR by [@mattp-](https://togithub.com/mattp-). - Remove `toml` dependency by using `cargo add` directly. - [#2568](https://togithub.com/pre-commit/pre-commit/issues/2568) PR by [@m-rsha](https://togithub.com/m-rsha). - Support `dotnet` hooks which have dotted prefixes. - [#2641](https://togithub.com/pre-commit/pre-commit/issues/2641) PR by [@rkm](https://togithub.com/rkm). - [#2629](https://togithub.com/pre-commit/pre-commit/issues/2629) issue by [@rkm](https://togithub.com/rkm). ##### Fixes - Properly adjust `--commit-msg-filename` if run from a sub directory. - [#2459](https://togithub.com/pre-commit/pre-commit/issues/2459) PR by [@asottile](https://togithub.com/asottile). - Simplify `--intent-to-add` detection by using `git diff`. - [#2580](https://togithub.com/pre-commit/pre-commit/issues/2580) PR by [@m-rsha](https://togithub.com/m-rsha). - Fix `R.exe` selection on windows. - [#2605](https://togithub.com/pre-commit/pre-commit/issues/2605) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#2599](https://togithub.com/pre-commit/pre-commit/issues/2599) issue by [@SInginc](https://togithub.com/SInginc). - Skip default `nuget` source when installing `dotnet` packages. - [#2642](https://togithub.com/pre-commit/pre-commit/issues/2642) PR by [@rkm](https://togithub.com/rkm). ### [`v2.20.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2200---2022-07-10) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.19.0...v2.20.0) \=================== ##### Features - Expose `source` and `object-name` (positional args) of `prepare-commit-msg` hook as `PRE_COMMIT_COMIT_MSG_SOURCE` and `PRE_COMMIT_COMMIT_OBJECT_NAME`. - [#2407](https://togithub.com/pre-commit/pre-commit/issues/2407) PR by [@M-Whitaker](https://togithub.com/M-Whitaker). - [#2406](https://togithub.com/pre-commit/pre-commit/issues/2406) issue by [@M-Whitaker](https://togithub.com/M-Whitaker). ##### Fixes - Fix `language: ruby` installs when `--user-install` is set in gemrc. - [#2394](https://togithub.com/pre-commit/pre-commit/issues/2394) PR by [@narpfel](https://togithub.com/narpfel). - [#2393](https://togithub.com/pre-commit/pre-commit/issues/2393) issue by [@narpfel](https://togithub.com/narpfel). - Adjust pty setup for solaris. - [#2390](https://togithub.com/pre-commit/pre-commit/issues/2390) PR by [@gaige](https://togithub.com/gaige). - [#2389](https://togithub.com/pre-commit/pre-commit/issues/2389) issue by [@gaige](https://togithub.com/gaige). - Remove unused `--config` option from `gc`, `sample-config`, `validate-config`, `validate-manifest` sub-commands. - [#2429](https://togithub.com/pre-commit/pre-commit/issues/2429) PR by [@asottile](https://togithub.com/asottile). ### [`v2.19.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2190---2022-05-05) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.18.1...v2.19.0) \=================== ##### Features - Allow multiple outputs from `language: dotnet` hooks. - [#2332](https://togithub.com/pre-commit/pre-commit/issues/2332) PR by [@WallucePinkham](https://togithub.com/WallucePinkham). - Add more information to `healthy()` failure. - [#2348](https://togithub.com/pre-commit/pre-commit/issues/2348) PR by [@asottile](https://togithub.com/asottile). - Upgrade ruby-build. - [#2342](https://togithub.com/pre-commit/pre-commit/issues/2342) PR by [@jalessio](https://togithub.com/jalessio). - Add `pre-commit validate-config` / `pre-commit validate-manifest` and deprecate `pre-commit-validate-config` and `pre-commit-validate-manifest`. - [#2362](https://togithub.com/pre-commit/pre-commit/issues/2362) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix `pre-push` when pushed ref contains spaces. - [#2345](https://togithub.com/pre-commit/pre-commit/issues/2345) PR by [@wwade](https://togithub.com/wwade). - [#2344](https://togithub.com/pre-commit/pre-commit/issues/2344) issue by [@wwade](https://togithub.com/wwade). ##### Updating - Change `pre-commit-validate-config` / `pre-commit-validate-manifest` to `pre-commit validate-config` / `pre-commit validate-manifest`. - [#2362](https://togithub.com/pre-commit/pre-commit/issues/2362) PR by [@asottile](https://togithub.com/asottile). ### [`v2.18.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2181---2022-04-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.18.0...v2.18.1) \=================== ##### Fixes - Fix regression for `repo: local` hooks running `python<3.7` - [#2324](https://togithub.com/pre-commit/pre-commit/issues/2324) PR by [@asottile](https://togithub.com/asottile). ### [`v2.18.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2180---2022-04-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.17.0...v2.18.0) \=================== ##### Features - Keep `GIT_HTTP_PROXY_AUTHMETHOD` in git environ. - [#2272](https://togithub.com/pre-commit/pre-commit/issues/2272) PR by [@VincentBerthier](https://togithub.com/VincentBerthier). - [#2271](https://togithub.com/pre-commit/pre-commit/issues/2271) issue by [@VincentBerthier](https://togithub.com/VincentBerthier). - Support both `cs` and `coursier` executables for coursier hooks. - [#2293](https://togithub.com/pre-commit/pre-commit/issues/2293) PR by [@Holzhaus](https://togithub.com/Holzhaus). - Include more information in errors for `language_version` / `additional_dependencies` for languages which do not support them. - [#2315](https://togithub.com/pre-commit/pre-commit/issues/2315) PR by [@asottile](https://togithub.com/asottile). - Have autoupdate preferentially pick tags which look like versions when there are multiple equivalent tags. - [#2312](https://togithub.com/pre-commit/pre-commit/issues/2312) PR by [@mblayman](https://togithub.com/mblayman). - [#2311](https://togithub.com/pre-commit/pre-commit/issues/2311) issue by [@mblayman](https://togithub.com/mblayman). - Upgrade `ruby-build`. - [#2319](https://togithub.com/pre-commit/pre-commit/issues/2319) PR by [@jalessio](https://togithub.com/jalessio). - Add top level `default_install_hook_types` which will be installed when `--hook-types` is not specified in `pre-commit install`. - [#2322](https://togithub.com/pre-commit/pre-commit/issues/2322) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix typo in help message for `--from-ref` and `--to-ref`. - [#2266](https://togithub.com/pre-commit/pre-commit/issues/2266) PR by [@leetrout](https://togithub.com/leetrout). - Prioritize binary builds for R dependencies. - [#2277](https://togithub.com/pre-commit/pre-commit/issues/2277) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - Fix handling of git worktrees. - [#2252](https://togithub.com/pre-commit/pre-commit/issues/2252) PR by [@daschuer](https://togithub.com/daschuer). - Fix handling of `$R_HOME` for R hooks. - [#2301](https://togithub.com/pre-commit/pre-commit/issues/2301) PR by [@jeff-m-sullivan](https://togithub.com/jeff-m-sullivan). - [#2300](https://togithub.com/pre-commit/pre-commit/issues/2300) issue by [@jeff-m-sullivan](https://togithub.com/jeff-m-sullivan). - Fix a rare race condition in change stashing. - [#2323](https://togithub.com/pre-commit/pre-commit/issues/2323) PR by [@asottile](https://togithub.com/asottile). - [#2287](https://togithub.com/pre-commit/pre-commit/issues/2287) issue by [@ian-h-chamberlain](https://togithub.com/ian-h-chamberlain). ##### Updating - Remove python3.6 support. Note that pre-commit still supports running hooks written in older versions, but pre-commit itself requires python 3.7+. - [#2215](https://togithub.com/pre-commit/pre-commit/issues/2215) PR by [@asottile](https://togithub.com/asottile). - pre-commit has migrated from the `master` branch to `main`. - [#2302](https://togithub.com/pre-commit/pre-commit/issues/2302) PR by [@asottile](https://togithub.com/asottile). ### [`v2.17.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2170---2022-01-18) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.16.0...v2.17.0) \=================== ##### Features - add warnings for regexes containing `[\\/]`. - [#2151](https://togithub.com/pre-commit/pre-commit/issues/2151) issue by [@sanjioh](https://togithub.com/sanjioh). - [#2154](https://togithub.com/pre-commit/pre-commit/issues/2154) PR by [@kuviokelluja](https://togithub.com/kuviokelluja). - upgrade supported ruby versions. - [#2205](https://togithub.com/pre-commit/pre-commit/issues/2205) PR by [@jalessio](https://togithub.com/jalessio). - allow `language: conda` to use `mamba` or `micromamba` via `PRE_COMMIT_USE_MAMBA=1` or `PRE_COMMIT_USE_MICROMAMBA=1` respectively. - [#2204](https://togithub.com/pre-commit/pre-commit/issues/2204) issue by [@janjagusch](https://togithub.com/janjagusch). - [#2207](https://togithub.com/pre-commit/pre-commit/issues/2207) PR by [@xhochy](https://togithub.com/xhochy). - display `git --version` in error report. - [#2210](https://togithub.com/pre-commit/pre-commit/issues/2210) PR by [@asottile](https://togithub.com/asottile). - add `language: lua` as a supported language. - [#2158](https://togithub.com/pre-commit/pre-commit/issues/2158) PR by [@mblayman](https://togithub.com/mblayman). ##### Fixes - temporarily add `setuptools` to the zipapp. - [#2122](https://togithub.com/pre-commit/pre-commit/issues/2122) issue by [@andreoliwa](https://togithub.com/andreoliwa). - [`a737d5f`](https://togithub.com/pre-commit/pre-commit/commit/a737d5f) commit by [@asottile](https://togithub.com/asottile). - use `go install` instead of `go get` for go 1.18+ support. - [#2161](https://togithub.com/pre-commit/pre-commit/issues/2161) PR by [@schmir](https://togithub.com/schmir). - fix `language: r` with a local renv and `RENV_PROJECT` set. - [#2170](https://togithub.com/pre-commit/pre-commit/issues/2170) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - forbid overriding `entry` in `language: meta` hooks which breaks them. - [#2180](https://togithub.com/pre-commit/pre-commit/issues/2180) issue by [@DanKaplanSES](https://togithub.com/DanKaplanSES). - [#2181](https://togithub.com/pre-commit/pre-commit/issues/2181) PR by [@asottile](https://togithub.com/asottile). - always use `#!/bin/sh` on windows for hook script. - [#2182](https://togithub.com/pre-commit/pre-commit/issues/2182) issue by [@hushigome-visco](https://togithub.com/hushigome-visco). - [#2187](https://togithub.com/pre-commit/pre-commit/issues/2187) PR by [@asottile](https://togithub.com/asottile). ### [`v2.16.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2160---2021-11-30) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.15.0...v2.16.0) \=================== ##### Features - add warning for regexes containing `[\/]` or `[/\\]`. - [#2053](https://togithub.com/pre-commit/pre-commit/issues/2053) PR by [@radek-sprta](https://togithub.com/radek-sprta). - [#2043](https://togithub.com/pre-commit/pre-commit/issues/2043) issue by [@asottile](https://togithub.com/asottile). - move hook template back to `bash` resolving shebang-portability issues. - [#2065](https://togithub.com/pre-commit/pre-commit/issues/2065) PR by [@asottile](https://togithub.com/asottile). - add support for `fail_fast` at the individual hook level. - [#2097](https://togithub.com/pre-commit/pre-commit/issues/2097) PR by [@colens3](https://togithub.com/colens3). - [#1143](https://togithub.com/pre-commit/pre-commit/issues/1143) issue by [@potiuk](https://togithub.com/potiuk). - allow passthrough of `GIT_CONFIG_KEY_*`, `GIT_CONFIG_VALUE_*`, and `GIT_CONFIG_COUNT`. - [#2136](https://togithub.com/pre-commit/pre-commit/issues/2136) PR by [@emzeat](https://togithub.com/emzeat). ##### Fixes - fix pre-commit autoupdate for `core.useBuiltinFSMonitor=true` on windows. - [#2047](https://togithub.com/pre-commit/pre-commit/issues/2047) PR by [@asottile](https://togithub.com/asottile). - [#2046](https://togithub.com/pre-commit/pre-commit/issues/2046) issue by [@lcnittl](https://togithub.com/lcnittl). - fix temporary file stashing with for `submodule.recurse=1`. - [#2071](https://togithub.com/pre-commit/pre-commit/issues/2071) PR by [@asottile](https://togithub.com/asottile). - [#2063](https://togithub.com/pre-commit/pre-commit/issues/2063) issue by [@a666](https://togithub.com/a666). - ban broken importlib-resources versions. - [#2098](https://togithub.com/pre-commit/pre-commit/issues/2098) PR by [@asottile](https://togithub.com/asottile). - replace `exit(...)` with `raise SystemExit(...)` for portability. - [#2103](https://togithub.com/pre-commit/pre-commit/issues/2103) PR by [@asottile](https://togithub.com/asottile). - [#2104](https://togithub.com/pre-commit/pre-commit/issues/2104) PR by [@asottile](https://togithub.com/asottile). ### [`v2.15.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2150---2021-09-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.14.1...v2.15.0) \=================== ##### Features - add support for hooks written in `dart`. - [#2027](https://togithub.com/pre-commit/pre-commit/issues/2027) PR by [@asottile](https://togithub.com/asottile). - add support for `post-rewrite` hooks. - [#2036](https://togithub.com/pre-commit/pre-commit/issues/2036) PR by [@uSpike](https://togithub.com/uSpike). - [#2035](https://togithub.com/pre-commit/pre-commit/issues/2035) issue by [@uSpike](https://togithub.com/uSpike). ##### Fixes - fix `check-useless-excludes` with exclude matching broken symlink. - [#2029](https://togithub.com/pre-commit/pre-commit/issues/2029) PR by [@asottile](https://togithub.com/asottile). - [#2019](https://togithub.com/pre-commit/pre-commit/issues/2019) issue by [@pkoch](https://togithub.com/pkoch). - eliminate duplicate mutable sha warning messages for `pre-commit autoupdate`. - [#2030](https://togithub.com/pre-commit/pre-commit/issues/2030) PR by [@asottile](https://togithub.com/asottile). - [#2010](https://togithub.com/pre-commit/pre-commit/issues/2010) issue by [@graingert](https://togithub.com/graingert). ### [`v2.14.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2141---2021-08-28) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.14.0...v2.14.1) \=================== ##### Fixes - fix force-push of disparate histories using git>=2.28. - [#2005](https://togithub.com/pre-commit/pre-commit/issues/2005) PR by [@asottile](https://togithub.com/asottile). - [#2002](https://togithub.com/pre-commit/pre-commit/issues/2002) issue by [@bogusfocused](https://togithub.com/bogusfocused). - fix `check-useless-excludes` and `check-hooks-apply` matching non-root `.pre-commit-config.yaml`. - [#2026](https://togithub.com/pre-commit/pre-commit/issues/2026) PR by [@asottile](https://togithub.com/asottile). - [pre-commit-ci/issues#84](https://togithub.com/pre-commit-ci/issues/issues/84) issue by [@billsioros](https://togithub.com/billsioros). ### [`v2.14.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2140---2021-08-06) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.13.0...v2.14.0) \=================== ##### Features - During `pre-push` hooks, expose local branch as `PRE_COMMIT_LOCAL_BRANCH`. - [#1947](https://togithub.com/pre-commit/pre-commit/issues/1947) PR by [@FlorentClarret](https://togithub.com/FlorentClarret). - [#1410](https://togithub.com/pre-commit/pre-commit/issues/1410) issue by [@MaicoTimmerman](https://togithub.com/MaicoTimmerman). - Improve container id detection for docker-beside-docker with custom hostname. - [#1919](https://togithub.com/pre-commit/pre-commit/issues/1919) PR by [@adarnimrod](https://togithub.com/adarnimrod). - [#1918](https://togithub.com/pre-commit/pre-commit/issues/1918) issue by [@adarnimrod](https://togithub.com/adarnimrod). ##### Fixes - Read legacy hooks in an encoding-agnostic way. - [#1943](https://togithub.com/pre-commit/pre-commit/issues/1943) PR by [@asottile](https://togithub.com/asottile). - [#1942](https://togithub.com/pre-commit/pre-commit/issues/1942) issue by [@sbienkow-ninja](https://togithub.com/sbienkow-ninja). - Fix execution of docker hooks for docker-in-docker. - [#1997](https://togithub.com/pre-commit/pre-commit/issues/1997) PR by [@asottile](https://togithub.com/asottile). - [#1978](https://togithub.com/pre-commit/pre-commit/issues/1978) issue by [@robin-moss](https://togithub.com/robin-moss). ### [`v2.13.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#2130---2021-05-21) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.12.1...v2.13.0) \=================== ##### Features - Setting `SKIP=...` skips installation as well. - [#1875](https://togithub.com/pre-commit/pre-commit/issues/1875) PR by [@asottile](https://togithub.com/asottile). - [pre-commit-ci/issues#53](https://togithub.com/pre-commit-ci/issues/issues/53) issue by [@TylerYep](https://togithub.com/TylerYep). - Attempt to mount from host with docker-in-docker. - [#1888](https://togithub.com/pre-commit/pre-commit/issues/1888) PR by [@okainov](https://togithub.com/okainov). - [#1387](https://togithub.com/pre-commit/pre-commit/issues/1387) issue by [@okainov](https://togithub.com/okainov). - Enable `repo: local` for `r` hooks. - [#1878](https://togithub.com/pre-commit/pre-commit/issues/1878) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - Upgrade `ruby-build` and `rbenv`. - [#1913](https://togithub.com/pre-commit/pre-commit/issues/1913) PR by [@jalessio](https://togithub.com/jalessio). ##### Fixes - Better detect `r` packages. - [#1898](https://togithub.com/pre-commit/pre-commit/issues/1898) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - Avoid warnings with mismatched `renv` versions. - [#1841](https://togithub.com/pre-commit/pre-commit/issues/1841) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - Reproducibly produce ruby tar resources. - [#1915](https://togithub.com/pre-commit/pre-commit/issues/1915) PR by [@asottile](https://togithub.com/asottile).Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.