chore(deps): update dependency pre-commit to v2.21.0 #66
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.9.3
->==2.21.0
Release Notes
pre-commit/pre-commit (pre-commit)
v2.21.0
Compare Source
===================
Features
SKIP
for environment install.pre-commit run --files
against unmerged paths.repo: local
hooks.rust
is now a "first class" language -- supportinglanguage_version
andinstallation when not present.
r
now uses more-reliable binary installation.GIT_ALLOW_PROTOCOL
is now passed through for git operations.GIT_ASKPASS
is now passed through for git operations.toml
dependency by usingcargo add
directly.dotnet
hooks which have dotted prefixes.Fixes
--commit-msg-filename
if run from a sub directory.--intent-to-add
detection by usinggit diff
.R.exe
selection on windows.nuget
source when installingdotnet
packages.v2.20.0
Compare Source
===================
Features
source
andobject-name
(positional args) ofprepare-commit-msg
hook as
PRE_COMMIT_COMIT_MSG_SOURCE
andPRE_COMMIT_COMMIT_OBJECT_NAME
.Fixes
language: ruby
installs when--user-install
is set in gemrc.--config
option fromgc
,sample-config
,validate-config
,validate-manifest
sub-commands.v2.19.0
Compare Source
===================
Features
language: dotnet
hooks.healthy()
failure.pre-commit validate-config
/pre-commit validate-manifest
anddeprecate
pre-commit-validate-config
andpre-commit-validate-manifest
.Fixes
pre-push
when pushed ref contains spaces.Updating
pre-commit-validate-config
/pre-commit-validate-manifest
topre-commit validate-config
/pre-commit validate-manifest
.v2.18.1
Compare Source
===================
Fixes
repo: local
hooks runningpython<3.7
v2.18.0
Compare Source
===================
Features
GIT_HTTP_PROXY_AUTHMETHOD
in git environ.cs
andcoursier
executables for coursier hooks.language_version
/additional_dependencies
for languages which do not support them.there are multiple equivalent tags.
ruby-build
.default_install_hook_types
which will be installed when--hook-types
is not specified inpre-commit install
.Fixes
--from-ref
and--to-ref
.$R_HOME
for R hooks.Updating
written in older versions, but pre-commit itself requires python 3.7+.
master
branch tomain
.v2.17.0
Compare Source
===================
Features
[\\/]
.language: conda
to usemamba
ormicromamba
viaPRE_COMMIT_USE_MAMBA=1
orPRE_COMMIT_USE_MICROMAMBA=1
respectively.git --version
in error report.language: lua
as a supported language.Fixes
setuptools
to the zipapp.a737d5f
commit by @asottile.go install
instead ofgo get
for go 1.18+ support.language: r
with a local renv andRENV_PROJECT
set.entry
inlanguage: meta
hooks which breaks them.#!/bin/sh
on windows for hook script.v2.16.0
Compare Source
===================
Features
[\/]
or[/\\]
.bash
resolving shebang-portability issues.fail_fast
at the individual hook level.GIT_CONFIG_KEY_*
,GIT_CONFIG_VALUE_*
, andGIT_CONFIG_COUNT
.Fixes
core.useBuiltinFSMonitor=true
on windows.submodule.recurse=1
.exit(...)
withraise SystemExit(...)
for portability.v2.15.0
Compare Source
===================
Features
dart
.post-rewrite
hooks.Fixes
check-useless-excludes
with exclude matching broken symlink.pre-commit autoupdate
.v2.14.1
Compare Source
===================
Fixes
check-useless-excludes
andcheck-hooks-apply
matching non-root.pre-commit-config.yaml
.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
Configuration
📅 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 is behind base branch, 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.