Skip to content

Commit 53dd99c

Browse files
Update pre-commit (#396)
* Update pre-commit * Use blacken-docs
1 parent 0e9a1cb commit 53dd99c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.1.0
6+
rev: v4.2.0
77
hooks:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
@@ -28,8 +28,13 @@ repos:
2828
files: \.(html|md|yml|yaml)
2929
args: [--prose-wrap=preserve]
3030

31+
- repo: https://github.com/asottile/blacken-docs
32+
rev: v1.12.1
33+
hooks:
34+
- id: blacken-docs
35+
3136
- repo: https://github.com/asottile/pyupgrade
32-
rev: v2.31.1
37+
rev: v2.32.1
3338
hooks:
3439
- id: pyupgrade
3540
args: [--py37-plus]

requirements/developer.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pre-commit>=2.18
1+
pre-commit>=2.19

0 commit comments

Comments
 (0)