Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.20.0->^2.0.0Release Notes
pre-commit/pre-commit
v2.16.0Compare Source
===================
Features
[\/]or[/\\].bashresolving shebang-portability issues.fail_fastat the individual hook level.GIT_CONFIG_KEY_*,GIT_CONFIG_VALUE_*, andGIT_CONFIG_COUNT.Fixes
core.useBuiltinFSMonitor=trueon windows.submodule.recurse=1.exit(...)withraise SystemExit(...)for portability.v2.15.0Compare Source
===================
Features
dart.post-rewritehooks.Fixes
check-useless-excludeswith exclude matching broken symlink.pre-commit autoupdate.v2.14.1Compare Source
===================
Fixes
check-useless-excludesandcheck-hooks-applymatching non-root.pre-commit-config.yaml.v2.14.0Compare Source
===================
Features
pre-pushhooks, expose local branch asPRE_COMMIT_LOCAL_BRANCH.Fixes
v2.13.0Compare Source
===================
Features
SKIP=...skips installation as well.repo: localforrhooks.ruby-buildandrbenv.Fixes
rpackages.renvversions.v2.12.1Compare Source
===================
Fixes
v2.12.0Compare Source
===================
Features
Fixes
so underlying commands can expand further.
v2.11.1Compare Source
===================
Fixes
v2.11.0Compare Source
===================
Features
post-mergehook.ras a supported hook language.Fixes
pre-commit installonsubst/ network drives on windows.localgolang repositories for go 1.16.v2.10.1Compare Source
===================
Fixes
language: golangrepositories containing recursive submodulesv2.10.0Compare Source
===================
Features
cias a top-level map for configuration for https://pre-commit.cirevin configuration/*in top-levelfiles/excluderegexesPRE_COMMIT_REMOTE_BRANCHenvironment variable duringpre-pushhooks
language/language_versionfor non-installablelanguages
Fixes
v2.9.3Compare Source
==================
Fixes
v2.9.2Compare Source
==================
Fixes
types_orsosymlinkanddirectorycan be matchedv2.9.1Compare Source
==================
Fixes
/*infiles/excluderegexeshealthy()check forlanguage: pythonon windows when the baseexecutable has non-ascii characters.
v2.9.0Compare Source
==================
Features
types_orwhich allows matching multiple disparatetypesin a hookFixes
language: dotnetrbenvandlanguage_version: defaultgit status/git diffcommands by ignoringsubmodules
v2.8.2Compare Source
==================
Fixes
language_version: defaultv2.8.1Compare Source
==================
Fixes
language_versionofsystemwhen the homedir is/v2.8.0Compare Source
==================
Features
rbenv/ruby-buildsample-configversionsdotnet--negateoption tolanguage: pygrephookscoursier(a jvm-based package manager)Fixes
healthy()check forlanguage: node+language_version: systemhooks when the system executable goes missing.
script on windows.
C:\PythonXX\python.exepath on windows as it causedconfusion (and
virtualenvcan sometimes do better)language: rubyhooks when--format-executableis present in a gemrcRainbow Tux(discord).cygwin/win32mismatch error earlier to catch msys2 mismatches-pworkaround for oldvirtualenvlanguage: nodeinstallations to not symlink outside of the environmentsystemfor defaultinglanguage_versionforlanguage: node/language: rubyv2.7.1Compare Source
==================
Fixes
pscallhealthy()invalidation followed by install being reported asun-
healthy().os.replace()v2.7.0Compare Source
==================
Features
Fixes
diffperformance with many hooksv2.6.0Compare Source
==================
Fixes
NPM_CONFIG_USERCONFIGis setFeatures
rbenv/ruby-downloadif system ruby is availablev2.5.1Compare Source
==================
Fixes
v2.5.0Compare Source
==================
Features
PRE_COMMIT=1environment variable when running hooksFixes
UnicodeDecodeErroron windows when using thepylauncher to detectexecutables with non-ascii characters in the path
DeprecationWarningon python3.9 forrandom.shufflemethodfiles/excludeuse forwardslashes on windows as well.
v2.4.0Compare Source
==================
Features
post-commithookshealthy()when upgrading operating systems.language: python_venvis now an alias tolanguage: python(and will beremoved in a future version).
healthy()check.pre-commit autoupdatenow tries to maintain quoting style ofrev.Fixes
repo: local.post-checkouthook.GEM_PATHis set globally.pre-commit autoupdate/pre-commit migrate-configare run but the pre-commit configuration is notvalid yaml.
v2.3.0Compare Source
==================
Features
east_asian_widthlanguage_version: systemby default fornodehooks ifnode/npmare globally installed.
Fixes
git commithook-implpipon windowspre-commit autoupdatev2.2.0Compare Source
==================
Features
post-checkouthook--from-ref/--to-refaliases for--source/--originFixes
--commit-msg-filenameis passed forcommit-msg/prepare-commit-msg.healthy()check whenpythonexecutable goes missing.Misc.
v2.1.1Compare Source
==================
Fixes
081f302by @asottile.v2.1.0Compare Source
==================
Features
aspy.yamlwithsort_keys=False.perl.Fixes
.git/hooks/*shebang creation when pythons are in/usr/local/bin.Misc.
v2.0.1Compare Source
==================
Fixes
ImportErrorin python 3.6.0 / 3.6.1 fortyping.NoReturn.v2.0.0Compare Source
==================
Features
PRE_COMMIT_REMOTE_NAMEandPRE_COMMIT_REMOTE_URLas environmentvariables during
pre-pushhooks.Fixes
python -m pre_commit --versionto mentionpre-commitinstead of__main__.py.GIT_SSL_NO_VERIFYfrom environment when cloning.pre-commit init-templatedirto succeed even ifcore.hooksPathisset.
Misc
Updating
pcrelanguage, usepygrepinstead.--tags-onlyargument 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 Renovate Bot.