File tree Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v1.4 .0
3
+ rev : v2.0 .0
4
4
hooks :
5
5
- id : trailing-whitespace
6
6
- id : end-of-file-fixer
Original file line number Diff line number Diff line change
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
+
1
33
1.4.0-1
2
34
=======
3
35
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
15
15
Add this to your ` .pre-commit-config.yaml `
16
16
17
17
- 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
19
19
hooks:
20
20
- id: trailing-whitespace
21
21
# - id: ...
Original file line number Diff line number Diff line change 6
6
name = 'pre_commit_hooks' ,
7
7
description = 'Some out-of-the-box hooks for pre-commit.' ,
8
8
url = 'https://github.com/pre-commit/pre-commit-hooks' ,
9
- version = '1.4 .0' ,
9
+ version = '2.0 .0' ,
10
10
11
11
author = 'Anthony Sottile' ,
12
12
You can’t perform that action at this time.
0 commit comments