Skip to content

Commit 173776b

Browse files
authored
Add interrogate docstring coverage
Add pre-commit hook to include the interrogate docstring coverage check.
1 parent 4013012 commit 173776b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ repos:
6868
args:
6969
- -s
7070
- B101
71+
- repo: https://github.com/econchick/interrogate
72+
rev: 1.5.0
73+
hooks:
74+
- id: interrogate
75+
args:
76+
- -vv
77+
- --ignore-init-method
78+
- --fail-under=95
7179
- repo: local
7280
hooks:
7381
- id: pytest

0 commit comments

Comments
 (0)