chore(deps): update dependency pre-commit to v3 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
pre-commit |
~2.17 -> ~3.0
|
Release Notes
pre-commit/pre-commit
v3.0.4
==================
Fixes
- Fix hook diff detection for files affected by
--textconv
.- #2743 MR by @adamchainz.
- #2743 issue by @adamchainz.
v3.0.3
==================
Fixes
- Revert "Prevent local
Gemfile
from interfering with hook execution.".- #2739 issue by @Roguelazer.
- #2740 MR by @asottile.
v3.0.2
==================
Fixes
- Prevent local
Gemfile
from interfering with hook execution.- #2727 MR by @asottile.
- Fix
language: r
,repo: local
hooks
v3.0.1
==================
Fixes
- Ensure coursier hooks are available offline after install.
- #2723 MR by @asottile.
v3.0.0
==================
Features
- Make
language: golang
bootstrapgo
if not present.- #2651 MR by @taoufik07.
- #2649 issue by @taoufik07.
-
language: coursier
now supportsadditional_dependencies
andrepo: local
- #2702 MR by @asottile.
- Upgrade
ruby-build
to20221225
.- #2718 MR by @jalessio.
Fixes
- Improve error message for invalid yaml for
pre-commit autoupdate
.- #2686 MR by @asottile.
- #2685 issue by @CarstenGrohmann.
-
repo: local
no longer provisions an emptygit
repo.- #2699 MR by @asottile.
Updating
- Drop support for python<3.8
- #2655 MR by @asottile.
- Drop support for top-level list, use
pre-commit migrate-config
to update.- #2656 MR by @asottile.
- Drop support for
sha
to specify revision, usepre-commit migrate-config
to update.- #2657 MR by @asottile.
- Remove
pre-commit-validate-config
andpre-commit-validate-manifest
, usepre-commit validate-config
andpre-commit validate-manifest
instead.- #2658 MR by @asottile.
-
language: golang
hooks must usego.mod
to specify dependencies- #2672 MR by @taoufik07.
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.