Skip to content

Commit ad5468b

Browse files
committed
Add blacken docs pre-commit hook
1 parent 797867f commit ad5468b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ repos:
44
hooks:
55
- id: black
66
args: [--safe, --quiet, --target-version, py35]
7+
- repo: https://github.com/asottile/blacken-docs
8+
rev: v1.12.0
9+
hooks:
10+
- id: blacken-docs
11+
additional_dependencies: [black==22.1.0]
712
- repo: https://github.com/pre-commit/pre-commit-hooks
813
rev: v4.1.0
914
hooks:

0 commit comments

Comments
 (0)