forked from opsani/statesman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
43 lines (37 loc) · 1.3 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
34
35
36
37
38
39
40
41
42
43
[tool:pytest]
testpaths = statesman_test.py
filterwarnings =
ignore: .*the imp module is deprecated.*:DeprecationWarning
ignore: .*Using or importing the ABCs from 'collections':DeprecationWarning
ignore: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead:DeprecationWarning
ignore: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10:DeprecationWarning
error: True
[coverage:report]
precision = 2
exclude_lines =
pragma: no cover
raise NotImplementedError
raise NotImplemented
[coverage:run]
source = statesman.py
branch = True
[flake8]
ignore =
# common errors:
# FastAPI architecture requires a lot of functions calls as default arguments, so ignore it here.
B008,
# docs are missing in this project.
D, RST
# WPS: 3xx
# IMO, but the obligation to specify the base class is redundant.
WPS306,
# WPS: 4xx
# FastAPI architecture requires a lot of complex calls as default arguments, so ignore it here.
WPS404,
# again, FastAPI DI architecture involves a lot of nested functions as DI providers.
WPS430,
# WPS: 6xx
# pydantic defines models in dataclasses model style, but not supported by WPS.
WPS601,
max-line-length = 120
nested-classes-whitelist=Config, States