v2.0.0
版本发布时间: 2018-10-13 10:58:35
pre-commit/pre-commit-hooks最新发布版本:v4.6.0(2024-04-07 02:28:01)
Breaking changes
-
autopep8-wrapper
has been moved to pre-commit/mirrors-autopep8- #92 issue by @asottile.
- #319 issue by @blaggacao.
- #321 PR by @asottile.
-
trailing-whitespace
defaults to--no-markdown-linebreak-ext
- #310 issue by @asottile.
- #324 PR by @asottile.
-
hooks.yaml
(legacy pre-commit hook metadata) deleted- #323 PR by @asottile.
- pre-
types
compatibility metadata removed- #323 PR @asottile.
Docs
- Correct documentation for
no-commit-to-branch
- #318 PR by @milin.
Updating
- Minimum supported version of
pre-commit
is now 0.15.0 - Use
autopep8
from pre-commit/mirrors-autopep8 - To keep mardown hard linebreaks, for
trailing-whitespace
useargs: [--markdown-linebreak-ext=md,markdown]
(the previous default value)