-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
21 lines (21 loc) · 868 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[flake8]
max-line-length = 79
doctests = True
docstring-convention = numpy
exclude = .tox,*.egg,build,temp
verbose = 2
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
format = pylint
ignore =
# D100, # D100 - missing docstring in public module
# D104, # D104 - missing docstring in public package
# D107, # D107 - missing docstring in __init__
D, # Ignore all docstrings
E203, # E203 - whitespace before ':'. Opposite convention enforced by black
E231, # E231 - missing whitespace after ',', ';', or ':'; for black
E501, # E501 - line too long. Handled by black, we have longer lines
W503 # W503 - line break before binary operator, need for black
extend-ignore =
D103 ./* # D103 - missing docstring in public function
extend-select =
D404 # D404 - first word of the docstring should not be `This`