chore(deps): update dependency pre-commit to ~2.21 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
pre-commit |
~2.17 -> ~2.21
|
Release Notes
pre-commit/pre-commit
v2.21.0
===================
Features
- Require new-enough virtualenv to prevent 3.10 breakage
- #2467 MR by @asottile.
- Respect aliases with
SKIP
for environment install. - Allow
pre-commit run --files
against unmerged paths.- #2484 MR by @asottile.
- Also apply regex warnings to
repo: local
hooks.- #2524 MR by @chrisRedwine.
- #2521 issue by @asottile.
-
rust
is now a "first class" language -- supportinglanguage_version
and installation when not present.- #2534 MR by @Holzhaus.
-
r
now uses more-reliable binary installation.- #2460 MR by @lorenzwalthert.
-
GIT_ALLOW_MROTOCOL
is now passed through for git operations.- #2555 MR by @asottile.
-
GIT_ASKPASS
is now passed through for git operations. - Remove
toml
dependency by usingcargo add
directly. - Support
dotnet
hooks which have dotted prefixes.
Fixes
- Properly adjust
--commit-msg-filename
if run from a sub directory.- #2459 MR by @asottile.
- Simplify
--intent-to-add
detection by usinggit diff
. - Fix
R.exe
selection on windows.- #2605 MR by @lorenzwalthert.
- #2599 issue by @SInginc.
- Skip default
nuget
source when installingdotnet
packages.
v2.20.0
===================
Features
- Expose
source
andobject-name
(positional args) ofprepare-commit-msg
hook asMRE_COMMIT_COMIT_MSG_SOURCE
andMRE_COMMIT_COMMIT_OBJECT_NAME
.- #2407 MR by @M-Whitaker.
- #2406 issue by @M-Whitaker.
Fixes
- Fix
language: ruby
installs when--user-install
is set in gemrc. - Adjust pty setup for solaris.
- Remove unused
--config
option fromgc
,sample-config
,validate-config
,validate-manifest
sub-commands.- #2429 MR by @asottile.
v2.19.0
===================
Features
- Allow multiple outputs from
language: dotnet
hooks.- #2332 MR by @WallucePinkham.
- Add more information to
healthy()
failure.- #2348 MR by @asottile.
- Upgrade ruby-build.
- #2342 MR by @jalessio.
- Add
pre-commit validate-config
/pre-commit validate-manifest
and deprecatepre-commit-validate-config
andpre-commit-validate-manifest
.- #2362 MR by @asottile.
Fixes
Updating
- Change
pre-commit-validate-config
/pre-commit-validate-manifest
topre-commit validate-config
/pre-commit validate-manifest
.- #2362 MR by @asottile.
v2.18.1
===================
Fixes
- Fix regression for
repo: local
hooks runningpython<3.7
- #2324 MR by @asottile.
v2.18.0
===================
Features
- Keep
GIT_HTTP_MROXY_AUTHMETHOD
in git environ.- #2272 MR by @VincentBerthier.
- #2271 issue by @VincentBerthier.
- Support both
cs
andcoursier
executables for coursier hooks.- #2293 MR by @Holzhaus.
- Include more information in errors for
language_version
/additional_dependencies
for languages which do not support them.- #2315 MR by @asottile.
- Have autoupdate preferentially pick tags which look like versions when
there are multiple equivalent tags.
- #2312 MR by @mblayman.
- #2311 issue by @mblayman.
- Upgrade
ruby-build
.- #2319 MR by @jalessio.
- Add top level
default_install_hook_types
which will be installed when--hook-types
is not specified inpre-commit install
.- #2322 MR by @asottile.
Fixes
- Fix typo in help message for
--from-ref
and--to-ref
.- #2266 MR by @leetrout.
- Prioritize binary builds for R dependencies.
- #2277 MR by @lorenzwalthert.
- Fix handling of git worktrees.
- #2252 MR by @daschuer.
- Fix handling of
$R_HOME
for R hooks.- #2301 MR by @jeff-m-sullivan.
- #2300 issue by @jeff-m-sullivan.
- Fix a rare race condition in change stashing.
- #2323 MR by @asottile.
- #2287 issue by @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 MR by @asottile.
- pre-commit has migrated from the
master
branch tomain
.- #2302 MR by @asottile.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.