chore(deps): update dependency pre-commit to v2.21.0#12
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency pre-commit to v2.21.0#12renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
pkyosx
approved these changes
May 2, 2026
Contributor
pkyosx
left a comment
There was a problem hiding this comment.
Auto-approved: dependency upgrade with passing CI.
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:
2.14.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.Configuration
📅 Schedule: (UTC)
🚦 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.