Skip to content

Commit 844ab89

Browse files
committed
Add doc8 checker
1 parent a19504f commit 844ab89

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ repos:
4747
additional_dependencies:
4848
- sphinx
4949

50+
# RST style checker (doc8)
51+
- repo: https://github.com/PyCQA/doc8
52+
rev: v1.1.1
53+
hooks:
54+
- id: doc8
55+
args:
56+
- --max-line-length=300
57+
- --ignore=D001,D002,D004
58+
exclude: ^(locale/|_dummy/|build/)
59+
5060
# - repo: local
5161
# hooks:
5262
# - id: find_set_subst

0 commit comments

Comments
 (0)