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
->==4.0.1
Release Notes
pre-commit/pre-commit (pre-commit)
v4.0.1
Compare Source
==================
Fixes
pre-commit migrate-config
for unquoted deprecated stages names withpurelib
pyyaml
.v4.0.0
Compare Source
==================
Features
pre-commit migrate-config
to handle more yaml formats.stages
deprecation inpre-commit migrate-config
.ruby-build
.repo: meta
.stages
(commit
->pre-commit
,push
->pre-push
,merge-commit
->pre-merge-commit
).Migrating
language: python_venv
has been removed -- uselanguage: python
instead.v3.8.0
Compare Source
==================
Features
language: r
so environments are recreated ifthe system version of R changes.
v3.7.1
Compare Source
==================
Fixes
language: rust
default language version check whenrust-toolchain.toml
is present.
v3.7.0
Compare Source
==================
Features
docker
anddocker_image
hooks when--color
is specified.Fixes
fail_fast
for individual hooks stopping when previous hooks had failed.Updating
fail_fast
was fixed. If you want the pre-3.7.0behaviour, add
fail_fast: true
to all hooks before the lastfail_fast
hook.
v3.6.2
Compare Source
==================
Fixes
git commit --all
.v3.6.1
Compare Source
==================
Fixes
PYTHONEXECUTABLE
from environment when running.v3.6.0
Compare Source
==================
Features
minimum_pre_commit_version
first when parsing configs.Fixes
importlib.resources
.Updating
v3.5.0
Compare Source
==================
Features
check-hooks-apply
andcheck-useless-excludes
.Fixes
time.monotonic()
for more accurate hook timing.Migrating
language: node
hooks.v3.4.0
Compare Source
==================
Features
language: haskell
.Fixes
v3.3.3
Compare Source
==================
Fixes
--install-dir
/--bin-dir
in gem settings.v3.3.2
Compare Source
==================
Fixes
r
on windows sometimes double-un-quoting arguments.v3.3.1
Compare Source
==================
Fixes
git
partial clone bug forautoupdate
on windows.v3.3.0
Compare Source
==================
Features
-j
/--jobs
argument toautoupdate
for parallel execution.v3.2.2
Compare Source
==================
Fixes
v3.2.1
Compare Source
==================
Fixes
language_version
forlanguage: rust
without globalrustup
.v3.2.0
Compare Source
==================
Features
pre-commit
,pre-push
, andpre-merge-commit
asstages
.pre-rebase
hook support.Fixes
language: rust
installs.v3.1.1
Compare Source
==================
Fixes
rust
withlanguage_version
and a non-writable hostRUSTUP_HOME
.v3.1.0
Compare Source
==================
Fixes
dotnet
for.sln
-based hooks for dotnet>=7.0.200.diff
fails to execute.Updating
language: python_venv
. Uselanguage: python
instead.v3.0.4
Compare Source
==================
Fixes
--textconv
.v3.0.3
Compare Source
==================
Fixes
Gemfile
from interfering with hook execution.".v3.0.2
Compare Source
==================
Fixes
Gemfile
from interfering with hook execution.language: r
,repo: local
hooksv3.0.1
Compare Source
==================
Fixes
v3.0.0
Compare Source
==================
Features
language: golang
bootstrapgo
if not present.language: coursier
now supportsadditional_dependencies
andrepo: local
ruby-build
to20221225
.Fixes
pre-commit autoupdate
.repo: local
no longer provisions an emptygit
repo.Updating
pre-commit migrate-config
to update.sha
to specify revision, usepre-commit migrate-config
to update.
pre-commit-validate-config
andpre-commit-validate-manifest
, usepre-commit validate-config
andpre-commit validate-manifest
instead.language: golang
hooks must usego.mod
to specify dependenciesv2.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
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
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 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.