Skip to content

Commit e01bc2c

Browse files
committed
v2.0.0
1 parent dbf7de0 commit e01bc2c

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v1.4.0
3+
rev: v2.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
2.0.0
2+
=====
3+
4+
### Breaking changes
5+
6+
- `autopep8-wrapper` has been moved to
7+
[pre-commit/mirrors-autopep8][mirrors-autopep8]
8+
- #92 issue by @asottile.
9+
- #319 issue by @blaggacao.
10+
- #321 PR by @asottile.
11+
- `trailing-whitespace` defaults to `--no-markdown-linebreak-ext`
12+
- #310 issue by @asottile.
13+
- #324 PR by @asottile.
14+
- `hooks.yaml` (legacy pre-commit hook metadata) deleted
15+
- #323 PR by @asottile.
16+
- pre-`types` compatibility metadata removed
17+
- #323 PR @asottile.
18+
19+
### Docs
20+
21+
- Correct documentation for `no-commit-to-branch`
22+
- #318 PR by @milin.
23+
24+
### Updating
25+
26+
- Minimum supported version of `pre-commit` is now 0.15.0
27+
- Use `autopep8` from [pre-commit/mirrors-autopep8][mirrors-autopep8]
28+
- To keep mardown hard linebreaks, for `trailing-whitespace` use
29+
`args: [--markdown-linebreak-ext=md,markdown]` (the previous default value)
30+
31+
[mirrors-autopep8]: https://github.com/pre-commit/mirrors-autopep8
32+
133
1.4.0-1
234
=======
335

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
1515
Add this to your `.pre-commit-config.yaml`
1616

1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v1.4.0 # Use the ref you want to point at
18+
rev: v2.0.0 # Use the ref you want to point at
1919
hooks:
2020
- id: trailing-whitespace
2121
# - id: ...

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
name='pre_commit_hooks',
77
description='Some out-of-the-box hooks for pre-commit.',
88
url='https://github.com/pre-commit/pre-commit-hooks',
9-
version='1.4.0',
9+
version='2.0.0',
1010

1111
author='Anthony Sottile',
1212
author_email='[email protected]',

0 commit comments

Comments
 (0)