Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.21.0
->^2.0.0
Release Notes
pre-commit/pre-commit
v2.14.0
Compare Source
===================
Features
pre-push
hooks, expose local branch asPRE_COMMIT_LOCAL_BRANCH
.Fixes
v2.13.0
Compare Source
===================
Features
SKIP=...
skips installation as well.repo: local
forr
hooks.ruby-build
andrbenv
.Fixes
r
packages.renv
versions.v2.12.1
Compare Source
===================
Fixes
v2.12.0
Compare Source
===================
Features
Fixes
so underlying commands can expand further.
v2.11.1
Compare Source
===================
Fixes
v2.11.0
Compare Source
===================
Features
post-merge
hook.r
as a supported hook language.Fixes
pre-commit install
onsubst
/ network drives on windows.local
golang repositories for go 1.16.v2.10.1
Compare Source
===================
Fixes
language: golang
repositories containing recursive submodulesv2.10.0
Compare Source
===================
Features
ci
as a top-level map for configuration for https://pre-commit.cirev
in configuration/*
in top-levelfiles
/exclude
regexesPRE_COMMIT_REMOTE_BRANCH
environment variable duringpre-push
hooks
language
/language_version
for non-installablelanguages
Fixes
v2.9.3
Compare Source
==================
Fixes
v2.9.2
Compare Source
==================
Fixes
types_or
sosymlink
anddirectory
can be matchedv2.9.1
Compare Source
==================
Fixes
/*
infiles
/exclude
regexeshealthy()
check forlanguage: python
on windows when the baseexecutable has non-ascii characters.
v2.9.0
Compare Source
==================
Features
types_or
which allows matching multiple disparatetypes
in a hookFixes
language: dotnet
rbenv
andlanguage_version: default
git status
/git diff
commands by ignoringsubmodules
v2.8.2
Compare Source
==================
Fixes
language_version: default
v2.8.1
Compare Source
==================
Fixes
language_version
ofsystem
when the homedir is/
v2.8.0
Compare Source
==================
Features
rbenv
/ruby-build
sample-config
versionsdotnet
--negate
option tolanguage: pygrep
hookscoursier
(a jvm-based package manager)Fixes
healthy()
check forlanguage: node
+language_version: system
hooks when the system executable goes missing.
script on windows.
C:\PythonXX\python.exe
path on windows as it causedconfusion (and
virtualenv
can sometimes do better)language: ruby
hooks when--format-executable
is present in a gemrcRainbow Tux
(discord).cygwin
/win32
mismatch error earlier to catch msys2 mismatches-p
workaround for oldvirtualenv
language: node
installations to not symlink outside of the environmentsystem
for defaultinglanguage_version
forlanguage: node
/language: ruby
v2.7.1
Compare Source
==================
Fixes
ps
callhealthy()
invalidation followed by install being reported asun-
healthy()
.os.replace()
v2.7.0
Compare Source
==================
Features
Fixes
diff
performance with many hooksv2.6.0
Compare Source
==================
Fixes
NPM_CONFIG_USERCONFIG
is setFeatures
rbenv
/ruby-download
if system ruby is availablev2.5.1
Compare Source
==================
Fixes
v2.5.0
Compare Source
==================
Features
PRE_COMMIT=1
environment variable when running hooksFixes
UnicodeDecodeError
on windows when using thepy
launcher to detectexecutables with non-ascii characters in the path
DeprecationWarning
on python3.9 forrandom.shuffle
methodfiles
/exclude
use forwardslashes on windows as well.
v2.4.0
Compare Source
==================
Features
post-commit
hookshealthy()
when upgrading operating systems.language: python_venv
is now an alias tolanguage: python
(and will beremoved in a future version).
healthy()
check.pre-commit autoupdate
now tries to maintain quoting style ofrev
.Fixes
repo: local
.post-checkout
hook.GEM_PATH
is set globally.pre-commit autoupdate
/pre-commit migrate-config
are run but the pre-commit configuration is notvalid yaml.
v2.3.0
Compare Source
==================
Features
east_asian_width
language_version: system
by default fornode
hooks ifnode
/npm
are globally installed.
Fixes
git commit
hook-impl
pip
on windowspre-commit autoupdate
v2.2.0
Compare Source
==================
Features
post-checkout
hook--from-ref
/--to-ref
aliases for--source
/--origin
Fixes
--commit-msg-filename
is passed forcommit-msg
/prepare-commit-msg
.healthy()
check whenpython
executable goes missing.Misc.
v2.1.1
Compare Source
==================
Fixes
081f302
by @asottile.v2.1.0
Compare Source
==================
Features
aspy.yaml
withsort_keys=False
.perl
.Fixes
.git/hooks/*
shebang creation when pythons are in/usr/local/bin
.Misc.
v2.0.1
Compare Source
==================
Fixes
ImportError
in python 3.6.0 / 3.6.1 fortyping.NoReturn
.v2.0.0
Compare Source
==================
Features
PRE_COMMIT_REMOTE_NAME
andPRE_COMMIT_REMOTE_URL
as environmentvariables during
pre-push
hooks.Fixes
python -m pre_commit --version
to mentionpre-commit
instead of__main__.py
.GIT_SSL_NO_VERIFY
from environment when cloning.pre-commit init-templatedir
to succeed even ifcore.hooksPath
isset.
Misc
Updating
pcre
language, usepygrep
instead.--tags-only
argument topre-commit autoupdate
(it has donenothing since 0.14.0).
running hooks written in python2, but pre-commit itself requires python 3.6+.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 WhiteSource Renovate. View repository job log here.