Update precommit hook pre-commit/pre-commit-hooks to v4 - autoclosed #52
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:
v1.2.3
->v4.0.1
Release Notes
pre-commit/pre-commit-hooks
v4.0.1
Compare Source
Fixes
check-shebang-scripts-are-executable
fix entry point.v4.0.0
Compare 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
Compare 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
Compare 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
Compare 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
Compare 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
Compare Source
Fixes
check-toml
: use UTF-8 encoding to load toml filesv3.0.0
Compare 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
Compare Source
Fixes
egg=...
Updating
Use
flake8
frompycqa/flake8
instead:v2.4.0
Compare 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
Compare 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
Compare Source
Fixes
double-quote-string-fixer
v2.2.2
Compare Source
Fixes
fix-encoding-pragma
v2.2.1
Compare Source
Fixes
v2.2.0
Compare 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
Compare Source
Features
detect-private-key
mixed-line-endings
Fixes
end-of-file-fixer
Docs
detect-aws-credentials
autopep8-wrapper
is deprecated in descriptionv2.0.0
Compare Source
Breaking changes
autopep8-wrapper
has been moved to pre-commit/mirrors-autopep8trailing-whitespace
defaults to--no-markdown-linebreak-ext
hooks.yaml
(legacy pre-commit hook metadata) deletedtypes
compatibility metadata removedDocs
no-commit-to-branch
Updating
pre-commit
is now 0.15.0autopep8
from pre-commit/mirrors-autopep8trailing-whitespace
useargs: [--markdown-linebreak-ext=md,markdown]
(the previous default value)v1.4.0
Compare Source
Features
no-commit-to-branch
: allow--branch
to be specified multiple timescheck-merge-conflict
: add--assume-in-merge
to force checks outside of a merge commit situationFixes
ResourcesWarning
sMisc
v1.3.0
Compare Source
Features
--unsafe
argument tocheck-yaml
to allow custom yaml tagspkg-resources==0.0.0
inrequirements-txt-fixer
breakpoint()
(python3.7+) indebug-statements
hook.detect-private-key
Fixes
autopep8-wrapper
,check-docstring-first
,double-quote-string-fixer
)AttributeError
incheck-builtin-literals
for some functionsConfiguration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.