-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.cfg
35 lines (32 loc) · 920 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
29
30
31
32
33
34
35
[pydocstyle]
convention = google
add-ignore = D104,D107,D202
[darglint]
docstring_style=google
ignore_regex=^test_(.*)
message_template=In {path}:{line} in {obj} :: {msg_id}: {msg}
[mypy]
ignore_missing_imports =True
show_column_numbers=True
disallow_untyped_defs=True
disallow_incomplete_defs=True
disallow_untyped_decorators=False
exclude=tests
[flake8]
# TODO: this should be 88 or 100 according PEP8
max-line-length = 79
exclude = .tox,*.egg,build,temp
select = E,W,F
doctests = True
verbose = 2
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
format = pylint
ignore =
E731
W504
F401
F841
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