Update dependency pre-commit to v4 #134

Open
renovate-bot wants to merge 1 commits from renovate/pre-commit-4.x into main
Member

This PR contains the following updates:

Package Type Update Change
pre-commit dev-packages major ==2.21.0 -> ==4.1.0

Release Notes

pre-commit/pre-commit (pre-commit)

v4.1.0

Compare Source

==================

Features
Fixes

v4.0.1

Compare Source

==================

Fixes

v4.0.0

Compare Source

==================

Features
Migrating

v3.8.0

Compare Source

==================

Features

v3.7.1

Compare Source

==================

Fixes

v3.7.0

Compare Source

==================

Features
  • Use a tty for docker and docker_image hooks when --color is specified.
Fixes
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

Compare Source

==================

Fixes

v3.6.1

Compare Source

==================

Fixes

v3.6.0

Compare Source

==================

Features
Fixes
Updating

v3.5.0

Compare Source

==================

Features
Fixes
Migrating

v3.4.0

Compare Source

==================

Features
Fixes

v3.3.3

Compare Source

==================

Fixes

v3.3.2

Compare Source

==================

Fixes

v3.3.1

Compare Source

==================

Fixes

v3.3.0

Compare Source

==================

Features

v3.2.2

Compare Source

==================

Fixes

v3.2.1

Compare Source

==================

Fixes

v3.2.0

Compare Source

==================

Features
Fixes

v3.1.1

Compare Source

==================

Fixes

v3.1.0

Compare Source

==================

Fixes
Updating

v3.0.4

Compare Source

==================

Fixes

v3.0.3

Compare Source

==================

Fixes

v3.0.2

Compare Source

==================

Fixes

v3.0.1

Compare Source

==================

Fixes

v3.0.0

Compare Source

==================

Features
Fixes
Updating
  • Drop support for python<3.8
  • Drop support for top-level list, use pre-commit migrate-config to update.
  • Drop support for sha to specify revision, use pre-commit migrate-config
    to update.
  • Remove pre-commit-validate-config and pre-commit-validate-manifest, use
    pre-commit validate-config and pre-commit validate-manifest instead.
  • language: golang hooks must use go.mod to specify dependencies

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pre-commit](https://github.com/pre-commit/pre-commit) | dev-packages | major | `==2.21.0` -> `==4.1.0` | --- ### Release Notes <details> <summary>pre-commit/pre-commit (pre-commit)</summary> ### [`v4.1.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#410---2025-01-20) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v4.0.1...v4.1.0) \================== ##### Features - Add `language: julia`. - [#&#8203;3348](https://github.com/pre-commit/pre-commit/issues/3348) PR by [@&#8203;fredrikekre](https://github.com/fredrikekre). - [#&#8203;2689](https://github.com/pre-commit/pre-commit/issues/2689) issue [@&#8203;jmuchovej](https://github.com/jmuchovej). ##### Fixes - Disable automatic toolchain switching for `language: golang`. - [#&#8203;3304](https://github.com/pre-commit/pre-commit/issues/3304) PR by [@&#8203;AleksaC](https://github.com/AleksaC). - [#&#8203;3300](https://github.com/pre-commit/pre-commit/issues/3300) issue by [@&#8203;AleksaC](https://github.com/AleksaC). - [#&#8203;3149](https://github.com/pre-commit/pre-commit/issues/3149) issue by [@&#8203;nijel](https://github.com/nijel). - Fix `language: r` installation when initiated by RStudio. - [#&#8203;3389](https://github.com/pre-commit/pre-commit/issues/3389) PR by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). - [#&#8203;3385](https://github.com/pre-commit/pre-commit/issues/3385) issue by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). ### [`v4.0.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#401---2024-10-08) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v4.0.0...v4.0.1) \================== ##### Fixes - Fix `pre-commit migrate-config` for unquoted deprecated stages names with purelib `pyyaml`. - [#&#8203;3324](https://github.com/pre-commit/pre-commit/issues/3324) PR by [@&#8203;asottile](https://github.com/asottile). - [pre-commit-ci/issues#234](https://github.com/pre-commit-ci/issues/issues/234) issue by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). ### [`v4.0.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#400---2024-10-05) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.8.0...v4.0.0) \================== ##### Features - Improve `pre-commit migrate-config` to handle more yaml formats. - [#&#8203;3301](https://github.com/pre-commit/pre-commit/issues/3301) PR by [@&#8203;asottile](https://github.com/asottile). - Handle `stages` deprecation in `pre-commit migrate-config`. - [#&#8203;3302](https://github.com/pre-commit/pre-commit/issues/3302) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2732](https://github.com/pre-commit/pre-commit/issues/2732) issue by [@&#8203;asottile](https://github.com/asottile). - Upgrade `ruby-build`. - [#&#8203;3199](https://github.com/pre-commit/pre-commit/issues/3199) PR by [@&#8203;ThisGuyCodes](https://github.com/ThisGuyCodes). - Add "sensible regex" warnings to `repo: meta`. - [#&#8203;3311](https://github.com/pre-commit/pre-commit/issues/3311) PR by [@&#8203;asottile](https://github.com/asottile). - Add warnings for deprecated `stages` (`commit` -> `pre-commit`, `push` -> `pre-push`, `merge-commit` -> `pre-merge-commit`). - [#&#8203;3312](https://github.com/pre-commit/pre-commit/issues/3312) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;3313](https://github.com/pre-commit/pre-commit/issues/3313) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;3315](https://github.com/pre-commit/pre-commit/issues/3315) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2732](https://github.com/pre-commit/pre-commit/issues/2732) issue by [@&#8203;asottile](https://github.com/asottile). ##### Migrating - `language: python_venv` has been removed -- use `language: python` instead. - [#&#8203;3320](https://github.com/pre-commit/pre-commit/issues/3320) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2734](https://github.com/pre-commit/pre-commit/issues/2734) issue by [@&#8203;asottile](https://github.com/asottile). ### [`v3.8.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#380---2024-07-28) [Compare Source](https://github.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. - [#&#8203;3206](https://github.com/pre-commit/pre-commit/issues/3206) issue by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). - [#&#8203;3265](https://github.com/pre-commit/pre-commit/issues/3265) PR by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). ### [`v3.7.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#371---2024-05-10) [Compare Source](https://github.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 [@&#8203;gaborbernat](https://github.com/gaborbernat). - [#&#8203;3201](https://github.com/pre-commit/pre-commit/issues/3201) PR by [@&#8203;asottile](https://github.com/asottile). ### [`v3.7.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#370---2024-03-24) [Compare Source](https://github.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. - [#&#8203;3122](https://github.com/pre-commit/pre-commit/issues/3122) PR by [@&#8203;glehmann](https://github.com/glehmann). ##### Fixes - Fix `fail_fast` for individual hooks stopping when previous hooks had failed. - [#&#8203;3167](https://github.com/pre-commit/pre-commit/issues/3167) issue by [@&#8203;tp832944](https://github.com/tp832944). - [#&#8203;3168](https://github.com/pre-commit/pre-commit/issues/3168) PR by [@&#8203;asottile](https://github.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://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#362---2024-02-18) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.6.1...v3.6.2) \================== ##### Fixes - Fix building golang hooks during `git commit --all`. - [#&#8203;3130](https://github.com/pre-commit/pre-commit/issues/3130) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2722](https://github.com/pre-commit/pre-commit/issues/2722) issue by [@&#8203;pestanko](https://github.com/pestanko) and [@&#8203;matthewhughes934](https://github.com/matthewhughes934). ### [`v3.6.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#361---2024-02-10) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.6.0...v3.6.1) \================== ##### Fixes - Remove `PYTHONEXECUTABLE` from environment when running. - [#&#8203;3110](https://github.com/pre-commit/pre-commit/issues/3110) PR by [@&#8203;untitaker](https://github.com/untitaker). - Handle staged-files-only with only a crlf diff. - [#&#8203;3126](https://github.com/pre-commit/pre-commit/issues/3126) PR by [@&#8203;asottile](https://github.com/asottile). - issue by [@&#8203;tyyrok](https://github.com/tyyrok). ### [`v3.6.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#360---2023-12-09) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.5.0...v3.6.0) \================== ##### Features - Check `minimum_pre_commit_version` first when parsing configs. - [#&#8203;3092](https://github.com/pre-commit/pre-commit/issues/3092) PR by [@&#8203;asottile](https://github.com/asottile). ##### Fixes - Fix deprecation warnings for `importlib.resources`. - [#&#8203;3043](https://github.com/pre-commit/pre-commit/issues/3043) PR by [@&#8203;asottile](https://github.com/asottile). - Fix deprecation warnings for rmtree. - [#&#8203;3079](https://github.com/pre-commit/pre-commit/issues/3079) PR by [@&#8203;edgarrmondragon](https://github.com/edgarrmondragon). ##### Updating - Drop support for python<3.9. - [#&#8203;3042](https://github.com/pre-commit/pre-commit/issues/3042) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;3093](https://github.com/pre-commit/pre-commit/issues/3093) PR by [@&#8203;asottile](https://github.com/asottile). ### [`v3.5.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#350---2023-10-13) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.4.0...v3.5.0) \================== ##### Features - Improve performance of `check-hooks-apply` and `check-useless-excludes`. - [#&#8203;2998](https://github.com/pre-commit/pre-commit/issues/2998) PR by [@&#8203;mxr](https://github.com/mxr). - [#&#8203;2935](https://github.com/pre-commit/pre-commit/issues/2935) issue by [@&#8203;mxr](https://github.com/mxr). ##### Fixes - Use `time.monotonic()` for more accurate hook timing. - [#&#8203;3024](https://github.com/pre-commit/pre-commit/issues/3024) PR by [@&#8203;adamchainz](https://github.com/adamchainz). ##### Migrating - Require npm 6.x+ for `language: node` hooks. - [#&#8203;2996](https://github.com/pre-commit/pre-commit/issues/2996) PR by [@&#8203;RoelAdriaans](https://github.com/RoelAdriaans). - [#&#8203;1983](https://github.com/pre-commit/pre-commit/issues/1983) issue by [@&#8203;henryiii](https://github.com/henryiii). ### [`v3.4.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#340---2023-09-02) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.3.3...v3.4.0) \================== ##### Features - Add `language: haskell`. - [#&#8203;2932](https://github.com/pre-commit/pre-commit/issues/2932) by [@&#8203;alunduil](https://github.com/alunduil). - Improve cpu count detection when run under cgroups. - [#&#8203;2979](https://github.com/pre-commit/pre-commit/issues/2979) PR by [@&#8203;jdb8](https://github.com/jdb8). - [#&#8203;2978](https://github.com/pre-commit/pre-commit/issues/2978) issue by [@&#8203;jdb8](https://github.com/jdb8). ##### Fixes - Handle negative exit codes from hooks receiving posix signals. - [#&#8203;2971](https://github.com/pre-commit/pre-commit/issues/2971) PR by [@&#8203;chriskuehl](https://github.com/chriskuehl). - [#&#8203;2970](https://github.com/pre-commit/pre-commit/issues/2970) issue by [@&#8203;chriskuehl](https://github.com/chriskuehl). ### [`v3.3.3`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#333---2023-06-13) [Compare Source](https://github.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. - [#&#8203;2905](https://github.com/pre-commit/pre-commit/issues/2905) PR by [@&#8203;jaysoffian](https://github.com/jaysoffian). - [#&#8203;2799](https://github.com/pre-commit/pre-commit/issues/2799) issue by [@&#8203;lmilbaum](https://github.com/lmilbaum). ### [`v3.3.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#332---2023-05-17) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.3.1...v3.3.2) \================== ##### Fixes - Work around `r` on windows sometimes double-un-quoting arguments. - [#&#8203;2885](https://github.com/pre-commit/pre-commit/issues/2885) PR by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). - [#&#8203;2870](https://github.com/pre-commit/pre-commit/issues/2870) issue by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). ### [`v3.3.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#331---2023-05-02) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.3.0...v3.3.1) \================== ##### Fixes - Work around `git` partial clone bug for `autoupdate` on windows. - [#&#8203;2866](https://github.com/pre-commit/pre-commit/issues/2866) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2865](https://github.com/pre-commit/pre-commit/issues/2865) issue by [@&#8203;adehad](https://github.com/adehad). ### [`v3.3.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#330---2023-05-01) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.2.2...v3.3.0) \================== ##### Features - Upgrade ruby-build. - [#&#8203;2846](https://github.com/pre-commit/pre-commit/issues/2846) PR by [@&#8203;jalessio](https://github.com/jalessio). - Use blobless clone for faster autoupdate. - [#&#8203;2859](https://github.com/pre-commit/pre-commit/issues/2859) PR by [@&#8203;asottile](https://github.com/asottile). - Add `-j` / `--jobs` argument to `autoupdate` for parallel execution. - [#&#8203;2863](https://github.com/pre-commit/pre-commit/issues/2863) PR by [@&#8203;asottile](https://github.com/asottile). - issue by [@&#8203;gaborbernat](https://github.com/gaborbernat). ### [`v3.2.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#322---2023-04-03) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2) \================== ##### Fixes - Fix support for swift >= 5.8. - [#&#8203;2836](https://github.com/pre-commit/pre-commit/issues/2836) PR by [@&#8203;edelabar](https://github.com/edelabar). - [#&#8203;2835](https://github.com/pre-commit/pre-commit/issues/2835) issue by [@&#8203;kgrobelny-intive](https://github.com/kgrobelny-intive). ### [`v3.2.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#321---2023-03-25) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.2.0...v3.2.1) \================== ##### Fixes - Fix `language_version` for `language: rust` without global `rustup`. - [#&#8203;2823](https://github.com/pre-commit/pre-commit/issues/2823) issue by [@&#8203;daschuer](https://github.com/daschuer). - [#&#8203;2827](https://github.com/pre-commit/pre-commit/issues/2827) PR by [@&#8203;asottile](https://github.com/asottile). ### [`v3.2.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#320---2023-03-17) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0) \================== ##### Features - Allow `pre-commit`, `pre-push`, and `pre-merge-commit` as `stages`. - [#&#8203;2732](https://github.com/pre-commit/pre-commit/issues/2732) issue by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2808](https://github.com/pre-commit/pre-commit/issues/2808) PR by [@&#8203;asottile](https://github.com/asottile). - Add `pre-rebase` hook support. - [#&#8203;2582](https://github.com/pre-commit/pre-commit/issues/2582) issue by [@&#8203;BrutalSimplicity](https://github.com/BrutalSimplicity). - [#&#8203;2725](https://github.com/pre-commit/pre-commit/issues/2725) PR by [@&#8203;mgaligniana](https://github.com/mgaligniana). ##### Fixes - Remove bulky cargo cache from `language: rust` installs. - [#&#8203;2820](https://github.com/pre-commit/pre-commit/issues/2820) PR by [@&#8203;asottile](https://github.com/asottile). ### [`v3.1.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#311---2023-02-27) [Compare Source](https://github.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://github.com/pre-commit-ci/issues/issues/173) by [@&#8203;Swiftb0y](https://github.com/Swiftb0y). - [#&#8203;2788](https://github.com/pre-commit/pre-commit/issues/2788) by [@&#8203;asottile](https://github.com/asottile). ### [`v3.1.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#310---2023-02-22) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.0.4...v3.1.0) \================== ##### Fixes - Fix `dotnet` for `.sln`-based hooks for dotnet>=7.0.200. - [#&#8203;2763](https://github.com/pre-commit/pre-commit/issues/2763) PR by [@&#8203;m-rsha](https://github.com/m-rsha). - Prevent stashing when `diff` fails to execute. - [#&#8203;2774](https://github.com/pre-commit/pre-commit/issues/2774) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2773](https://github.com/pre-commit/pre-commit/issues/2773) issue by [@&#8203;strubbly](https://github.com/strubbly). - Dependencies are no longer sorted in repository key. - [#&#8203;2776](https://github.com/pre-commit/pre-commit/issues/2776) PR by [@&#8203;asottile](https://github.com/asottile). ##### Updating - Deprecate `language: python_venv`. Use `language: python` instead. - [#&#8203;2746](https://github.com/pre-commit/pre-commit/issues/2746) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2734](https://github.com/pre-commit/pre-commit/issues/2734) issue by [@&#8203;asottile](https://github.com/asottile). ### [`v3.0.4`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#304---2023-02-03) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.0.3...v3.0.4) \================== ##### Fixes - Fix hook diff detection for files affected by `--textconv`. - [#&#8203;2743](https://github.com/pre-commit/pre-commit/issues/2743) PR by [@&#8203;adamchainz](https://github.com/adamchainz). - [#&#8203;2743](https://github.com/pre-commit/pre-commit/issues/2743) issue by [@&#8203;adamchainz](https://github.com/adamchainz). ### [`v3.0.3`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#303---2023-02-01) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.0.2...v3.0.3) \================== ##### Fixes - Revert "Prevent local `Gemfile` from interfering with hook execution.". - [#&#8203;2739](https://github.com/pre-commit/pre-commit/issues/2739) issue by [@&#8203;Roguelazer](https://github.com/Roguelazer). - [#&#8203;2740](https://github.com/pre-commit/pre-commit/issues/2740) PR by [@&#8203;asottile](https://github.com/asottile). ### [`v3.0.2`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#302---2023-01-29) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.0.1...v3.0.2) \================== ##### Fixes - Prevent local `Gemfile` from interfering with hook execution. - [#&#8203;2727](https://github.com/pre-commit/pre-commit/issues/2727) PR by [@&#8203;asottile](https://github.com/asottile). - Fix `language: r`, `repo: local` hooks - [pre-commit-ci/issues#107](https://github.com/pre-commit-ci/issues/issues/107) by [@&#8203;lorenzwalthert](https://github.com/lorenzwalthert). - [#&#8203;2728](https://github.com/pre-commit/pre-commit/issues/2728) PR by [@&#8203;asottile](https://github.com/asottile). ### [`v3.0.1`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#301---2023-01-26) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v3.0.0...v3.0.1) \================== ##### Fixes - Ensure coursier hooks are available offline after install. - [#&#8203;2723](https://github.com/pre-commit/pre-commit/issues/2723) PR by [@&#8203;asottile](https://github.com/asottile). ### [`v3.0.0`](https://github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#300---2023-01-23) [Compare Source](https://github.com/pre-commit/pre-commit/compare/v2.21.0...v3.0.0) \================== ##### Features - Make `language: golang` bootstrap `go` if not present. - [#&#8203;2651](https://github.com/pre-commit/pre-commit/issues/2651) PR by [@&#8203;taoufik07](https://github.com/taoufik07). - [#&#8203;2649](https://github.com/pre-commit/pre-commit/issues/2649) issue by [@&#8203;taoufik07](https://github.com/taoufik07). - `language: coursier` now supports `additional_dependencies` and `repo: local` - [#&#8203;2702](https://github.com/pre-commit/pre-commit/issues/2702) PR by [@&#8203;asottile](https://github.com/asottile). - Upgrade `ruby-build` to `20221225`. - [#&#8203;2718](https://github.com/pre-commit/pre-commit/issues/2718) PR by [@&#8203;jalessio](https://github.com/jalessio). ##### Fixes - Improve error message for invalid yaml for `pre-commit autoupdate`. - [#&#8203;2686](https://github.com/pre-commit/pre-commit/issues/2686) PR by [@&#8203;asottile](https://github.com/asottile). - [#&#8203;2685](https://github.com/pre-commit/pre-commit/issues/2685) issue by [@&#8203;CarstenGrohmann](https://github.com/CarstenGrohmann). - `repo: local` no longer provisions an empty `git` repo. - [#&#8203;2699](https://github.com/pre-commit/pre-commit/issues/2699) PR by [@&#8203;asottile](https://github.com/asottile). ##### Updating - Drop support for python<3.8 - [#&#8203;2655](https://github.com/pre-commit/pre-commit/issues/2655) PR by [@&#8203;asottile](https://github.com/asottile). - Drop support for top-level list, use `pre-commit migrate-config` to update. - [#&#8203;2656](https://github.com/pre-commit/pre-commit/issues/2656) PR by [@&#8203;asottile](https://github.com/asottile). - Drop support for `sha` to specify revision, use `pre-commit migrate-config` to update. - [#&#8203;2657](https://github.com/pre-commit/pre-commit/issues/2657) PR by [@&#8203;asottile](https://github.com/asottile). - Remove `pre-commit-validate-config` and `pre-commit-validate-manifest`, use `pre-commit validate-config` and `pre-commit validate-manifest` instead. - [#&#8203;2658](https://github.com/pre-commit/pre-commit/issues/2658) PR by [@&#8203;asottile](https://github.com/asottile). - `language: golang` hooks must use `go.mod` to specify dependencies - [#&#8203;2672](https://github.com/pre-commit/pre-commit/issues/2672) PR by [@&#8203;taoufik07](https://github.com/taoufik07). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2025-01-08 15:37:48 +01:00
Update dependency pre-commit to v4
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing
a9a7962603
Author
Member

⚠️ Artifact update problem

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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Pipfile.lock
Command failed: pipenv lock
Locking [packages] dependencies...
False
<console width=80 None>
Traceback (most recent call last):
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/bin/pipenv", line 8, in <module>
    sys.exit(cli())
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/cli/options.py", line 52, in main
    return super().main(*args, **kwargs, windows_expand_args=False)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/decorators.py", line 92, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/cli/command.py", line 342, in lock
    do_lock(
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/routines/lock.py", line 67, in do_lock
    venv_resolve_deps(
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/utils/resolver.py", line 907, in venv_resolve_deps
    c = resolve(cmd, st, project=project)
  File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/utils/resolver.py", line 771, in resolve
    raise RuntimeError("Failed to lock Pipfile.lock!")
RuntimeError: Failed to lock Pipfile.lock!

### ⚠️ Artifact update problem 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: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Pipfile.lock ``` Command failed: pipenv lock Locking [packages] dependencies... False <console width=80 None> Traceback (most recent call last): File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/bin/pipenv", line 8, in <module> sys.exit(cli()) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/cli/options.py", line 52, in main return super().main(*args, **kwargs, windows_expand_args=False) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/decorators.py", line 92, in new_func return ctx.invoke(f, obj, *args, **kwargs) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/vendor/click/decorators.py", line 33, in new_func return f(get_current_context(), *args, **kwargs) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/cli/command.py", line 342, in lock do_lock( File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/routines/lock.py", line 67, in do_lock venv_resolve_deps( File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/utils/resolver.py", line 907, in venv_resolve_deps c = resolve(cmd, st, project=project) File "/opt/containerbase/tools/pipenv/2024.4.0/3.9.21/lib/python3.9/site-packages/pipenv/utils/resolver.py", line 771, in resolve raise RuntimeError("Failed to lock Pipfile.lock!") RuntimeError: Failed to lock Pipfile.lock! ```
renovate-bot force-pushed renovate/pre-commit-4.x from a9a7962603 to e2f7411d5a 2025-01-20 19:37:15 +01:00 Compare
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing
Required
Details
Some required checks were not successful.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/pre-commit-4.x:renovate/pre-commit-4.x
git checkout renovate/pre-commit-4.x
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kompetenzinventar/ki-backend#134
No description provided.