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 11repos :
22- repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v2.1 .0
3+ rev : v2.2 .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.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+
1322.1.0
233=====
334
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ See also: https://github.com/pre-commit/pre-commit
1414Add this to your ` .pre-commit-config.yaml `
1515
1616 - 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
1818 hooks:
1919 - id: trailing-whitespace
2020 # - id: ...
Original file line number Diff line number Diff line change 11[metadata]
22name = pre_commit_hooks
3- version = 2.1 .0
3+ version = 2.2 .0
44description = Some out-of-the-box hooks for pre-commit.
55long_description = file: README.md
66long_description_content_type = text/markdown
You can’t perform that action at this time.
0 commit comments