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 11repos :
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
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+
1331.4.0-1
234=======
335
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
1515Add 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: ...
Original file line number Diff line number Diff line change 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 = 'asottile@umich.edu' ,
You can’t perform that action at this time.
0 commit comments