-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pre-commit hook pre-commit/pre-commit-hooks to v5 #1306
Merged
Conversation
This file contains 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
#release-notes Update pre-commit hook pre-commit/pre-commit-hooks to v5 Notable changes
pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)
|
Website deployed to CF Pages, 👀 preview link https://544a1fdd.flowzone.pages.dev |
Update pre-commit/pre-commit-hooks from 3.4.0 to 5.0.0 Change-type: patch
balena-renovate
bot
force-pushed
the
renovate/pre-commit-pre-commit-hooks-5.x
branch
from
December 30, 2024 21:04
ae721fa
to
7a603c4
Compare
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:
v3.4.0
->v5.0.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)
v5.0.0
: pre-commit-hooks v5.0.0Compare Source
Features
requirements-txt-fixer
: also removepkg_resources==...
.check-illegal-windows-names
: new hook!pretty-format-json
: continue processing even if a file has a json error.Fixes
destroyed-symlinks
: setstages
to[pre-commit, pre-push, manual]
Migrating
pre-commit>=3.2.0
.stages
.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
.v4.2.0
: pre-commit-hooks v4.2.0Compare Source
Features
name-tests-test
: updated display text.check-docstring-first
: make output more parsable.check-merge-conflict
: make output more parsable.debug-statements
: make output more parsable.Fixes
check-merge-conflict
: fix detection of======
conflict marker on windows.Updating
master
tomain
.v4.1.0
: pre-commit-hooks v4.1.0Compare Source
Features
debug-statements
: addpdbr
debugger.detect-private-key
: add detection for additional key types.check-executables-have-shebangs
: improve messaging on windows.check-added-large-files
: support--enforce-all
withgit-lfs
.Fixes
check-case-conflict
: improve performance.forbid-new-submodules
: fix false-negatives forpre-push
.check-merge-conflict
: fix execution in git worktrees.Misc.
v4.0.1
: pre-commit-hooks v4.0.1Compare Source
Fixes
check-shebang-scripts-are-executable
fix entry point.v4.0.0
: pre-commit-hooks v4.0.0Compare Source
Features
check-json
: report duplicate keys.no-commit-to-branch
: addmain
to default blocked branches.check-case-conflict
: check conflicts in directory names as well.check-vcs-permalinks
: forbid other branch names.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 indentationpretty-format-json
: write to stdout using UTF-8 encoding.Breaking changes
flake8
,pyflakes
,autopep8-wrapper
.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 has been generated by Renovate Bot.