-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.flake8
30 lines (27 loc) · 841 Bytes
/
.flake8
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
[flake8]
max-line-length = 120
exclude =
migrations
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,
extend-ignore = E203,W503
no-accept-encodings = True
nested-classes-whitelist=Config
inline-quotes = double