Skip to content

Commit 9b91561

Browse files
committed
add markdown linting via mdformat as a pre-commit hook
1 parent bc53aaa commit 9b91561

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,10 @@ repos:
5252
- '--pyink-indentation=2'
5353
- '--line-length=122'
5454
- '--check'
55+
56+
- repo: https://github.com/executablebooks/mdformat
57+
rev: 0.7.22
58+
hooks:
59+
- id: mdformat
60+
additional_dependencies: [mdformat-myst, mdformat-ruff]
61+
files: (docs/.)

0 commit comments

Comments
 (0)