Update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 #241
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:
v4.2.0
->v4.6.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-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 (pre-commit/pre-commit-hooks)
v4.6.0
: pre-commit-hooks v4.6.0Compare Source
Features
requirements-txt-fixer
: remove duplicate packages.Migrating
fix-encoding-pragma
: deprecated -- will be removed in 5.0.0. usepyupgrade or some other tool.
v4.5.0
: pre-commit-hooks v4.5.0Compare Source
Features
requirements-txt-fixer
: also sortconstraints.txt
by default.debug-statements
: addbpdb
debugger.Fixes
file-contents-sorter
: fix sorting an empty file.double-quote-string-fixer
: don't rewrite inside f-strings in 3.12+.Migrating
v4.4.0
: pre-commit-hooks v4.4.0Compare Source
Features
v4.3.0
: pre-commit-hooks v4.3.0Compare Source
Features
check-executables-have-shebangs
: usegit config core.fileMode
to determine if it should querygit
.name-tests-test
: add--pytest-test-first
test convention.Fixes
check-shebang-scripts-are-executable
: update windows instructions.check-toml
: use stdlibtomllib
when available.check-added-large-files
: don't run on non-filestages
.Configuration
📅 Schedule: Branch creation - "after 5am on thursday" (UTC), 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 has been generated by Renovate Bot.