chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 #18
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.3.0->v6.0.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Note: The
pre-commitmanager in Renovate is not supported by thepre-commitmaintainers 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)
v6.0.0: pre-commit-hooks v6.0.0Compare Source
Fixes
check-shebang-scripts-are-executable: improve error message.Migrating
file-contents-sorter: disallow--uniqueand--ignore-caseat the sametime.
check-byte-order-markerandfix-encoding-pragma.check-byte-order-marker: migrate tofix-byte-order-marker.fix-encoding-pragma: migrate topyupgrade.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: setstagesto[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.txtby default.debug-statements: addbpdbdebugger.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.fileModeto determine if it should querygit.name-tests-test: add--pytest-test-firsttest convention.Fixes
check-shebang-scripts-are-executable: update windows instructions.check-toml: use stdlibtomllibwhen 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
mastertomain.v4.1.0: pre-commit-hooks v4.1.0Compare Source
Features
debug-statements: addpdbrdebugger.detect-private-key: add detection for additional key types.check-executables-have-shebangs: improve messaging on windows.check-added-large-files: support--enforce-allwithgit-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-executablefix entry point.v4.0.0: pre-commit-hooks v4.0.0Compare Source
Features
check-json: report duplicate keys.no-commit-to-branch: addmainto 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.v3.4.0: pre-commit-hooks v3.4.0Compare Source
Features
file-contents-sorter: Add--uniqueargumentcheck-vcs-permalinks: Add--additional-github-domainoptiondestroyed-symlinksto detect unintentional symlink-breakages on windows.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.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.