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 situationResourcesWarning
s--unsafe
argument to check-yaml
to allow custom yaml tagspkg-resources==0.0.0
in requirements-txt-fixer
breakpoint()
(python3.7+) in debug-statements
hook.detect-private-key
autopep8-wrapper
, check-docstring-first
, double-quote-string-fixer
)AttributeError
in check-builtin-literals
for some functionstrailing-whitespace
entrypoint was incorrect.trailing-whitespace
no longer adds a missing newline at end-of-file(Note: this is a tag-only release as no code changes occurred)
no-commit-to-branch
detect-aws-credentials
false positive when key was emptyno-commit-to-branch
no longer crashes when not on a branchcheck-builtin-literals
hook.pretty-format-json
no longer depends on simplejson
.detect-private-key
now detects gcp keys.check-vcs-permalinks
under python3.check-yaml
gains a --allow-multiple-documents
(-m
) argument to allow linting of files using the multi document syntaxcheck-vcs-permalinks
for ensuring permalinked github urls.trailing-whitespace
for non-utf8 files on macosrequirements-txt-fixer
for files ending in comments--fix=...
when whole file is a different endingmixed-line-ending
mixed-line-ending
check-ast
.name-tests-test
git-lfs
for check-added-large-files
. The oldest version that is supported is 2.2.1 (2.2.0 will incorrectly refer to all files as “lfs” (false negative) and earlier versions will crash.debug-statements
now works for non-utf-8 files.check-executables-have-shebangs
hook.sort-simple-yaml
hookrequirements-txt-fixer
for empty filesfile-contents-sorter
hook for sorting flat filescheck-merge-conflict
now recognizes rebase conflictstypes
(and therefore requires pre-commit 0.15.0). This allows the text processing hooks to match all text files (and to match files which would only be classifiable by their shebangs).detect-aws-credentials
tests.py
in name-tests-test
--no-ensure-ascii
option to pretty-format-json
no-commit-to-branch
hook