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).
### [`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).
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.16.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). ### [`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).Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.