v2.0.0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 41f77d8..f400955 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.4.0 + rev: v2.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a6ba27..b6033cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,3 +1,35 @@ +2.0.0 +===== + +### Breaking changes + +- `autopep8-wrapper` has been moved to + [pre-commit/mirrors-autopep8][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][mirrors-autopep8] +- To keep mardown hard linebreaks, for `trailing-whitespace` use + `args: [--markdown-linebreak-ext=md,markdown]` (the previous default value) + +[mirrors-autopep8]: https://github.com/pre-commit/mirrors-autopep8 + 1.4.0-1 =======
diff --git a/README.md b/README.md index dc4cdb6..ddf5776 100644 --- a/README.md +++ b/README.md
@@ -15,7 +15,7 @@ Add this to your `.pre-commit-config.yaml` - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.4.0 # Use the ref you want to point at + rev: v2.0.0 # Use the ref you want to point at hooks: - id: trailing-whitespace # - id: ...
diff --git a/setup.py b/setup.py index 20b9f91..4bca2b0 100644 --- a/setup.py +++ b/setup.py
@@ -6,7 +6,7 @@ name='pre_commit_hooks', description='Some out-of-the-box hooks for pre-commit.', url='https://github.com/pre-commit/pre-commit-hooks', - version='1.4.0', + version='2.0.0', author='Anthony Sottile', author_email='asottile@umich.edu',