Skip to content

Commit 7905d80

Browse files
committed
v2.2.0
1 parent f677478 commit 7905d80

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-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: v2.1.0
3+
rev: v2.2.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
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+
132
2.1.0
233
=====
334

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See also: https://github.com/pre-commit/pre-commit
1414
Add 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: ...

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pre_commit_hooks
3-
version = 2.1.0
3+
version = 2.2.0
44
description = Some out-of-the-box hooks for pre-commit.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)