rpdb to detected debuggers in debug-statementscheck-toml hook__main__ block to pre_commit.file_contents_sorter so it can be invoked using python -mgit-lfs tests in azure pipelinesdouble-quote-string-fixerfix-encoding-pragmapyyaml to ruamel.yaml--pattern option to no-commit-to-branch for regex matching branch names.require_serial: true for flake8check-executables-have-shebangs / trailing-whitespace hooks during the commit-msg stage.check-byte-order-marker against types: [text]check-docstring-firstpre-commit-hooks now is type checked with mypy.detect-private-keymixed-line-endingsend-of-file-fixerdetect-aws-credentialsautopep8-wrapper is deprecated in descriptionautopep8-wrapper has been moved to pre-commit/mirrors-autopep8trailing-whitespace defaults to --no-markdown-linebreak-exthooks.yaml (legacy pre-commit hook metadata) deletedtypes compatibility metadata removedno-commit-to-branchpre-commit is now 0.15.0autopep8 from pre-commit/mirrors-autopep8trailing-whitespace use args: [--markdown-linebreak-ext=md,markdown] (the previous default value)(Note: this is a tag-only release as no code changes occurred)
end-of-file-fixer during commit-msg stageno-commit-to-branch: allow --branch to be specified multiple timescheck-merge-conflict: add --assume-in-merge to force checks outside of a merge commit situationResourcesWarnings--unsafe argument to check-yaml to allow custom yaml tagspkg-resources==0.0.0 in requirements-txt-fixerbreakpoint() (python3.7+) in debug-statements hook.detect-private-keyautopep8-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-branchdetect-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-endingmixed-line-endingcheck-ast.name-tests-testgit-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-credentialstests.py in name-tests-test--no-ensure-ascii option to pretty-format-jsonno-commit-to-branch hook