Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Oct 13, 2018
1 parent dbf7de0 commit e01bc2c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
=======

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
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: ...
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
Expand Down

0 comments on commit e01bc2c

Please sign in to comment.