forked from mongodb/mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pydocstyle
18 lines (17 loc) · 834 Bytes
/
.pydocstyle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# See https://readthedocs.org/projects/pydocstyle/
[pydocstyle]
inherit = false
# D105 - Missing docstring in magic method
# D107 - Missing docstring in __init__
# D202 - No blank lines allowed after function docstring
# D203 - 1 blank line required before class docstring
# D212 - Multi-line docstring summary should start at the first line
# D213 - Multi-line docstring summary should start at the second line
# D301 - Use r""" if any backslashes in a docstring
# D401 - First line should be in imperative mood
# D407 - Missing dashed underline after section
# D413 - Missing blank line after last section
# D415 - First line should end with a period, question mark, or exclamation point
ignore = D105,D202,D203,D212,D213,D301,D401,D407,D413,D415
# Do not run on buildscripts/tests/
match = ^((?!buildscripts[\\\/]tests[\\\/]).)*$