chore(deps): update dependency pre-commit to v3
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
pre-commit |
^2.15 -> ^3.0.0
|
Release Notes
pre-commit/pre-commit (pre-commit)
v3.3.3
==================
Fixes
- Work around OS packagers setting
--install-dir
/--bin-dir
in gem settings.- #2905 MR by @jaysoffian.
- #2799 issue by @lmilbaum.
v3.3.2
==================
Fixes
- Work around
r
on windows sometimes double-un-quoting arguments.- #2885 MR by @lorenzwalthert.
- #2870 issue by @lorenzwalthert.
v3.3.1
==================
Fixes
- Work around
git
partial clone bug forautoupdate
on windows.- #2866 MR by @asottile.
- #2865 issue by @adehad.
v3.3.0
==================
Features
- Upgrade ruby-build.
- #2846 MR by @jalessio.
- Use blobless clone for faster autoupdate.
- #2859 MR by @asottile.
- Add
-j
/--jobs
argument toautoupdate
for parallel execution.- #2863 MR by @asottile.
- issue by @gaborbernat.
v3.2.2
==================
Fixes
- Fix support for swift >= 5.8.
- #2836 MR by @edelabar.
- #2835 issue by @kgrobelny-intive.
v3.2.1
==================
Fixes
- Fix
language_version
forlanguage: rust
without globalrustup
.- #2823 issue by @daschuer.
- #2827 MR by @asottile.
v3.2.0
==================
Features
- Allow
pre-commit
,pre-push
, andpre-merge-commit
asstages
.- #2732 issue by @asottile.
- #2808 MR by @asottile.
- Add
pre-rebase
hook support.- #2582 issue by @BrutalSimplicity.
- #2725 MR by @mgaligniana.
Fixes
- Remove bulky cargo cache from
language: rust
installs.- #2820 MR by @asottile.
v3.1.1
==================
Fixes
- Fix
rust
withlanguage_version
and a non-writable hostRUSTUP_HOME
.
v3.1.0
==================
Fixes
- Fix
dotnet
for.sln
-based hooks for dotnet>=7.0.200. - Prevent stashing when
diff
fails to execute.- #2774 MR by @asottile.
- #2773 issue by @strubbly.
- Dependencies are no longer sorted in repository key.
- #2776 MR by @asottile.
Updating
- Deprecate
language: python_venv
. Uselanguage: python
instead.- #2746 MR by @asottile.
- #2734 issue by @asottile.
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.
v2.17.0
===================
Features
- add warnings for regexes containing
[\\/]
.- #2151 issue by @sanjioh.
- #2154 MR by @kuviokelluja.
- upgrade supported ruby versions.
- #2205 MR by @jalessio.
- allow
language: conda
to usemamba
ormicromamba
viaMRE_COMMIT_USE_MAMBA=1
orMRE_COMMIT_USE_MICROMAMBA=1
respectively.- #2204 issue by @janjagusch.
- #2207 MR by @xhochy.
- display
git --version
in error report.- #2210 MR by @asottile.
- add
language: lua
as a supported language.- #2158 MR by @mblayman.
Fixes
- temporarily add
setuptools
to the zipapp.- #2122 issue by @andreoliwa.
-
a737d5f
commit by @asottile.
- use
go install
instead ofgo get
for go 1.18+ support. - fix
language: r
with a local renv andRENV_MROJECT
set.- #2170 MR by @lorenzwalthert.
- forbid overriding
entry
inlanguage: meta
hooks which breaks them.- #2180 issue by @DanKaplanSES.
- #2181 MR by @asottile.
- always use
#!/bin/sh
on windows for hook script.- #2182 issue by @hushigome-visco.
- #2187 MR by @asottile.
v2.16.0
===================
Features
- add warning for regexes containing
[\/]
or[/\\]
.- #2053 MR by @radek-sprta.
- #2043 issue by @asottile.
- move hook template back to
bash
resolving shebang-portability issues.- #2065 MR by @asottile.
- add support for
fail_fast
at the individual hook level. - allow passthrough of
GIT_CONFIG_KEY_*
,GIT_CONFIG_VALUE_*
, andGIT_CONFIG_COUNT
.
Fixes
- fix pre-commit autoupdate for
core.useBuiltinFSMonitor=true
on windows.- #2047 MR by @asottile.
- #2046 issue by @lcnittl.
- fix temporary file stashing with for
submodule.recurse=1
.- #2071 MR by @asottile.
- #2063 issue by @a666.
- ban broken importlib-resources versions.
- #2098 MR by @asottile.
- replace
exit(...)
withraise SystemExit(...)
for portability.- #2103 MR by @asottile.
- #2104 MR by @asottile.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.