Update dependency pre-commit to v2.21.0 #28
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:
==2.6.0->==2.21.0Release Notes
pre-commit/pre-commit (pre-commit)
v2.21.0Compare Source
===================
Features
SKIPfor environment install.pre-commit run --filesagainst unmerged paths.repo: localhooks.rustis now a "first class" language -- supportinglanguage_versionandinstallation when not present.
rnow uses more-reliable binary installation.GIT_ALLOW_PROTOCOLis now passed through for git operations.GIT_ASKPASSis now passed through for git operations.tomldependency by usingcargo adddirectly.dotnethooks which have dotted prefixes.Fixes
--commit-msg-filenameif run from a sub directory.--intent-to-adddetection by usinggit diff.R.exeselection on windows.nugetsource when installingdotnetpackages.v2.20.0Compare Source
===================
Features
sourceandobject-name(positional args) ofprepare-commit-msghook as
PRE_COMMIT_COMIT_MSG_SOURCEandPRE_COMMIT_COMMIT_OBJECT_NAME.Fixes
language: rubyinstalls when--user-installis set in gemrc.--configoption fromgc,sample-config,validate-config,validate-manifestsub-commands.v2.19.0Compare Source
===================
Features
language: dotnethooks.healthy()failure.pre-commit validate-config/pre-commit validate-manifestanddeprecate
pre-commit-validate-configandpre-commit-validate-manifest.Fixes
pre-pushwhen pushed ref contains spaces.Updating
pre-commit-validate-config/pre-commit-validate-manifesttopre-commit validate-config/pre-commit validate-manifest.v2.18.1Compare Source
===================
Fixes
repo: localhooks runningpython<3.7v2.18.0Compare Source
===================
Features
GIT_HTTP_PROXY_AUTHMETHODin git environ.csandcoursierexecutables for coursier hooks.language_version/additional_dependenciesfor languages which do not support them.there are multiple equivalent tags.
ruby-build.default_install_hook_typeswhich will be installed when--hook-typesis not specified inpre-commit install.Fixes
--from-refand--to-ref.$R_HOMEfor R hooks.Updating
written in older versions, but pre-commit itself requires python 3.7+.
masterbranch tomain.v2.17.0Compare Source
===================
Features
[\\/].language: condato usemambaormicromambaviaPRE_COMMIT_USE_MAMBA=1orPRE_COMMIT_USE_MICROMAMBA=1respectively.git --versionin error report.language: luaas a supported language.Fixes
setuptoolsto the zipapp.a737d5fcommit by @asottile.go installinstead ofgo getfor go 1.18+ support.language: rwith a local renv andRENV_PROJECTset.entryinlanguage: metahooks which breaks them.#!/bin/shon windows for hook script.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 hooksConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.