pre-commit/pre-commit
### [`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).
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 Mend Renovate. View repository job log here.
This PR contains the following updates:
==2.20.0
->==2.21.0
Release Notes
pre-commit/pre-commit
### [`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).Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.