File tree Expand file tree Collapse file tree 4 files changed +34
-3
lines changed Expand file tree Collapse file tree 4 files changed +34
-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 : v2.1 .0
3
+ rev : v2.2 .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.2.0
2
+ =====
3
+
4
+ ### Features
5
+ - Switch from ` pyyaml ` to ` ruamel.yaml `
6
+ - This enforces (among other things) duplicate key checking in yaml.
7
+ - #351 PR by @asottile .
8
+ - Add a new ` --pattern ` option to ` no-commit-to-branch ` for regex matching
9
+ branch names.
10
+ - #375 issue by @marcjay .
11
+ - #376 PR by @marcjay .
12
+
13
+ ### Fixes
14
+ - Set ` require_serial: true ` for flake8
15
+ - flake8 internally uses multiprocessing.
16
+ - #358 PR by @asottile .
17
+ - Don't run ` check-executables-have-shebangs ` / ` trailing-whitespace ` hooks
18
+ during the ` commit-msg ` stage.
19
+ - #361 issue by @revolter .
20
+ - #362 PR by @revolter .
21
+ - Run ` check-byte-order-marker ` against ` types: [text] `
22
+ - #371 PR by @tobywf .
23
+ - #372 PR by @tobywf .
24
+ - Do not require UTF-8-encoded files for ` check-docstring-first `
25
+ - #345 issue by @x007007007 .
26
+ - #374 PR by @asottile .
27
+
28
+ ### Misc.
29
+ - ` pre-commit-hooks ` now is type checked with mypy.
30
+ - #360 PR by @asottile .
31
+
1
32
2.1.0
2
33
=====
3
34
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ See also: https://github.com/pre-commit/pre-commit
14
14
Add this to your ` .pre-commit-config.yaml `
15
15
16
16
- repo: https://github.com/pre-commit/pre-commit-hooks
17
- rev: v2.1 .0 # Use the ref you want to point at
17
+ rev: v2.2 .0 # Use the ref you want to point at
18
18
hooks:
19
19
- id: trailing-whitespace
20
20
# - id: ...
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = pre_commit_hooks
3
- version = 2.1 .0
3
+ version = 2.2 .0
4
4
description = Some out-of-the-box hooks for pre-commit.
5
5
long_description = file: README.md
6
6
long_description_content_type = text/markdown
You can’t perform that action at this time.
0 commit comments