chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4 #275
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:
2c9f875913ee60ca25ce70243dc24d5b6415598c
->v4.6.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
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
.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
.v3.4.0
: pre-commit-hooks v3.4.0Compare Source
Features
file-contents-sorter
: Add--unique
argumentcheck-vcs-permalinks
: Add--additional-github-domain
optiondestroyed-symlinks
to detect unintentional symlink-breakages on windows.v3.3.0
: pre-commit-hooks v3.3.0Compare Source
Features
file-contents-sorter
: add--ignore-case
option for case-insensitive sortingcheck-added-large-files
: add--enforce-all
option to check non-added files as wellfix-byte-order-marker
: new hook which fixes UTF-8 byte-order marker.Deprecations
check-byte-order-marker
is now deprecated forfix-byte-order-marker
v3.2.0
: pre-commit-hooks v3.2.0Compare Source
Features
debug-statements
: add support forpydevd_pycharm
debuggerFixes
check-executables-have-shebangs
: fix git-quoted files on windows (spaces, non-ascii, etc.)v3.1.0
: pre-commit-hooks v3.1.0Compare Source
Features
check-executables-have-shebangs
: on windows, validate the mode bits usinggit
requirements-txt-fixer
: support more operatorsFixes
pre-commit-hooks-removed
: Fix when removed hooks usedargs
v3.0.1
: pre-commit-hooks v3.0.1Compare Source
Fixes
check-toml
: use UTF-8 encoding to load toml filesv3.0.0
: pre-commit-hooks v3.0.0Compare Source
Features
detect-aws-credentials
: skip empty aws keysdebug-statements
: add detectionwdb
debuggerrequirements-txt-fixer
: support line continuation for dependenciesFixes
detect-aws-credentials
: fixUnicodeDecodeError
when running on non-UTF8 files.Updating
pre-commit/pre-commit-hooks now requires python3.6.1+
flake8
/pyflakes
have been removed, useflake8
frompycqa/flake8
instead:
v2.5.0
: pre-commit-hooks v2.5.0Compare Source
Fixes
egg=...
Updating
Use
flake8
frompycqa/flake8
instead:v2.4.0
: pre-commit-hooks v2.4.0Compare Source
Features
pretty-format-json
when run without--autofix
.--chars
option totrailing-whitespace
fixer to control which characters are stripped instead of all whitespace.Fixes
requirements-txt-fixer
when file does not end in a newline.pretty-format-json
.v2.3.0
: pre-commit-hooks v2.3.0Compare Source
Features
rpdb
to detected debuggers indebug-statements
check-toml
hookFixes
__main__
block topre_commit.file_contents_sorter
so it can be invoked usingpython -m
Misc.
git-lfs
tests in azure pipelinesv2.2.3
: pre-commit-hooks v2.2.3Compare Source
Fixes
double-quote-string-fixer
v2.2.2
: pre-commit-hooks v2.2.2Compare Source
Fixes
fix-encoding-pragma
v2.2.1
: pre-commit-hooks v2.2.1Compare Source
Fixes
v2.2.0
: pre-commit-hooks v2.2.0Compare Source
Features
pyyaml
toruamel.yaml
--pattern
option tono-commit-to-branch
for regex matching branch names.Fixes
require_serial: true
for flake8check-executables-have-shebangs
/trailing-whitespace
hooks during thecommit-msg
stage.check-byte-order-marker
againsttypes: [text]
check-docstring-first
Misc.
pre-commit-hooks
now is type checked with mypy.v2.1.0
: pre-commit-hooks v2.1.0Compare Source
Features
detect-private-key
mixed-line-endings
Fixes
end-of-file-fixer
Docs
detect-aws-credentials
autopep8-wrapper
is deprecated in descriptionConfiguration
📅 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 has been generated by Renovate Bot.