chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
pre-commit/pre-commit-hooks | repository | major |
v3.4.0 -> v4.3.0
|
Note: The pre-commit
manager in Renovate is not supported by the pre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
pre-commit/pre-commit-hooks
v4.3.0
Features
-
check-executables-have-shebangs
: usegit config core.fileMode
to determine if it should querygit
.- #730 MR by @Kurt-von-Laven.
-
name-tests-test
: add--pytest-test-first
test convention.- #779 MR by @asottile.
Fixes
-
check-shebang-scripts-are-executable
: update windows instructions.- #774 MR by @mdeweerd.
- #770 issue by @mdeweerd.
-
check-toml
: use stdlibtomllib
when available.- #771 MR by @DanielNoord.
- #755 issue by @sognetic.
-
check-added-large-files
: don't run on non-filestages
.- #778 MR by @asottile.
- #777 issue by @skyj.
v4.2.0
Features
-
name-tests-test
: updated display text.- #713 MR by @asottile.
-
check-docstring-first
: make output more parsable.- #748 MR by @asottile.
-
check-merge-conflict
: make output more parsable.- #748 MR by @asottile.
-
debug-statements
: make output more parsable.- #748 MR by @asottile.
Fixes
-
check-merge-conflict
: fix detection of======
conflict marker on windows.- #748 MR by @asottile.
Updating
- Drop python<3.7.
- #719 MR by @asottile.
- Changed default branch from
master
tomain
.- #744 MR by @asottile.
v4.1.0
Features
-
debug-statements
: addpdbr
debugger.- #614 MR by @cansarigol.
-
detect-private-key
: add detection for additional key types. -
check-executables-have-shebangs
: improve messaging on windows.- #689 MR by @pujitm.
- #686 issue by @jmerdich.
-
check-added-large-files
: support--enforce-all
withgit-lfs
.- #674 MR by @amartani.
- #560 issue by @jeremy-coulon.
Fixes
-
check-case-conflict
: improve performance.- #626 MR by @guykisel.
- #625 issue by @guykisel.
-
forbid-new-submodules
: fix false-negatives forpre-push
.- #619 MR by @m-khvoinitsky.
- #609 issue by @m-khvoinitsky.
-
check-merge-conflict
: fix execution in git worktrees.- #662 MR by @errsyn.
- #638 issue by @daschuer.
Misc.
- Normalize case of hook names and descriptions.
- #671 MR by @dennisroche.
- #673 MR by @revolter.
v4.0.1
Fixes
-
check-shebang-scripts-are-executable
fix entry point.- #602 issue by @Person-93.
- #603 MR by @scop.
v4.0.0
Features
-
check-json
: report duplicate keys.- #558 MR by @AdityaKhursale.
- #554 issue by @adamchainz.
-
no-commit-to-branch
: addmain
to default blocked branches.- #565 MR by @ndevenish.
-
check-case-conflict
: check conflicts in directory names as well.- #575 MR by @slsyy.
- #70 issue by @andyjack.
-
check-vcs-permalinks
: forbid other branch names.- #582 MR by @jack1142.
- #581 issue by @jack1142.
-
check-shebang-scripts-are-executable
: new hook which ensures shebang'd scripts are executable.
Fixes
-
check-executables-have-shebangs
: Short circuit shebang lookup on windows. -
requirements-txt-fixer
: Fix comments which have indentation- #549 MR by @greshilov.
- #548 issue by @greshilov.
-
pretty-format-json
: write to stdout using UTF-8 encoding.- #571 MR by @jack1142.
- #570 issue by @jack1142.
- Use more inclusive language.
- #599 MR by @asottile.
Breaking changes
- Remove deprecated hooks:
flake8
,pyflakes
,autopep8-wrapper
.- #597 MR by @asottile.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Ghost User