-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.cfg
33 lines (32 loc) · 1.54 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[pycodestyle]
max-line-length=130
exclude=.git
[pydocstyle]
# error codes: https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
;D100 Missing docstring in public module
;D101 Missing docstring in public class
;D102 Missing docstring in public method
;D104 Missing docstring in public package
;D105 Missing docstring in magic method
;D106 Missing docstring in public nested class
;D107 Missing docstring in __init__
;D200 One-line docstring should fit on one line with quotes
;D202 No blank lines allowed after function docstring
;D203 1 blank line required before class docstring
;D204 1 blank line required after class docstring
;D205 1 blank line required between summary line and description
;D206 Docstring should be indented with spaces, not tabs
;D207 Docstring is under-indented
;D208 Docstring is over-indented
;D400 First line should end with a period
;D401 First line should be in imperative mood try rephrasing
;D402 First line should not be the functions signature
;D403 First word of the first line should be properly capitalized
;D404 First word of the docstring should not be This
;D406 Section name should end with a newline
;D407 Missing dashed underline after section
;D408 Section underline should be in the line following the sections name
;D409 Section underline should match the length of its name
;D410 Missing blank line after section
;D411 Missing blank line before section
ignore = D100, D101, D102, D104, D105, D106, D107, D200, D202, D203, D204, D205, D210, D212, D213, D400 ,D401, D403, D404, D406, D407, D408, D409, D410, D411, D413