-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
28 lines (28 loc) · 897 Bytes
/
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
[flake8]
max-line-length = 120
doctests = True
docstring-convention = google
exclude = .tox,*.egg,build,temp
verbose = 2
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
format = pylint
ignore =
# D100 - missing docstring in public module
D100
# D104 - missing docstring in public package
D104
# D107 - missing docstring in __init__
D107
# D202 - no blank lines allowed after function docstring. black forces empty lines when comments follow docstrings
D202
# E203 - whitespace before ':'. Opposite convention enforced by black
E203
# E231 - missing whitespace after ',', ';', or ':'; for black
E231
# E501 - line too long. Handled by black, we have longer lines
E501
# W503 - line break before binary operator, need for black
W503
extend-select =
# D404 - first word of the docstring should not be `This`
D404