Skip to content

Commit 9b82aa7

Browse files
authored
Add blacken-docs pre-commit hook (#344)
1 parent f74626c commit 9b82aa7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ repos:
2020
hooks:
2121
- id: black
2222
language_version: python3
23+
- repo: https://github.com/asottile/blacken-docs
24+
rev: v1.10.0
25+
hooks:
26+
- id: blacken-docs
27+
additional_dependencies:
28+
- black==21.7b0
2329
- repo: https://github.com/pycqa/isort
2430
rev: 5.9.3
2531
hooks:

0 commit comments

Comments
 (0)