-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
57 lines (46 loc) · 1.23 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[coverage:report]
precision = 2
exclude_lines =
pragma: no cover
raise NotImplementedError
raise NotImplemented
[coverage:run]
source = app
branch = True
[mypy-loguru]
ignore_missing_imports = True
[mypy-asyncpg.*]
ignore_missing_imports = True
[mypy-bcrypt]
ignore_missing_imports = True
[mypy-passlib.*]
ignore_missing_imports = True
[mypy-slugify.*]
ignore_missing_imports = True
[mypy-pypika.*]
ignore_missing_imports = True
[flake8]
format = wemake
max-line-length = 88
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,
# used for pypika operations
WPS465,
# WPS: 6xx
# pydantic defines models in dataclasses model style, but not supported by WPS.
# WPS601,
no-accept-encodings = True
nested-classes-whitelist=Config
inline-quotes = double