forked from taskiq-python/taskiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
131 lines (126 loc) · 2.82 KB
/
.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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[flake8]
max-complexity = 7
inline-quotes = double
max-line-length = 88
extend-ignore = E203
docstring_style=sphinx
ignore =
; Found `no cover` comments overuse
WPS403
; Found a line that starts with a dot
WPS348,
; Found overly complex type annotation
WPS234,
; `noqa` comments overuse ))))
WPS402,
; Found `%` string formatting
WPS323,
; Found block variable overlap.
WPS440,
; Found multi-line function type annotation
WPS320,
; Found statement that has no effect
WPS428,
; Found wrong variable name
WPS110,
; Found unpythonic getter or setter
WPS615,
; Found `f` string
WPS305,
; Missing docstring in public module
D100,
; Missing docstring in magic method
D105,
; Missing docstring in __init__
D107,
; Found class without a base class
WPS306,
; Missing docstring in public nested class
D106,
; First line should be in imperative mood
D401,
; Found `__init__.py` module with logic
WPS412,
; Found implicit string concatenation
WPS326,
; Found string constant over-use
WPS226,
; Found upper-case constant in a class
WPS115,
; Found nested function
WPS430,
; Found using `@staticmethod`
WPS602,
; Found method without arguments
WPS605,
; Found overused expression
WPS204,
; Found too many module members
WPS202,
; Found too high module cognitive complexity
WPS232,
; line break before binary operator
W503,
; Found module with too many imports
WPS201,
; Found vague import that may cause confusion: X
WPS347,
; Inline strong start-string without end-string.
RST210,
; subprocess call with shell=True seems safe, but may be changed in the future.
S602,
; Starting a process with a partial executable path.
S607,
; Consider possible security implications associated with subprocess module.
S404,
; Found nested class
WPS431,
; Found wrong module name
WPS100,
; Found too many methods
WPS214,
; Found too long ``try`` body
WPS229,
; Found function with too much cognitive complexity
WPS231,
; Found too deep nesting
WPS220,
; Found line with high Jones Complexity
WPS221,
; function name should be lowercase
N802,
; Do not perform function calls in argument defaults.
B008,
; Found too many public instance attributes
WPS230,
per-file-ignores =
; all tests
test_*.py,tests.py,tests_*.py,*/tests/*:
; Use of assert detected
S101,
; Found magic number
WPS432,
; Missing parameter(s) in Docstring
DAR101,
; Found too short name
WPS111,
; Found complex default value
WPS404,
; all init files
__init__.py:
; ignore not used imports
F401,
; ignore import with wildcard
F403,
; Found wrong metadata variable
WPS410,
; Found commented out code
E800,
taskiq/serialization.py:
; Found commented out code
E800,
exclude =
./.git,
./venv,
./cached_venv,
./var,