-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
90 lines (86 loc) · 2.27 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
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
[flake8]
max-line-length=99
max-local-variables=8
max-complexity=8
max-module-members=12
max-line-complexity=18
exclude=
migrations
backupmigrations
extend-ignore=
# classes without base classes
WPS306,
# imports relative to current folder
WPS300,
# dotted import
WPS301,
# fstring
WPS305,
# multiline
WPS304,
# multiple assign targets
WPS429,
# multiline parameters
WPS317,
# private name pattern
WPS112,
# complex f-string
WPS237,
# % string formating
WPS323,
per-file-ignores=
settings.py:
# string literal overuse
WPS226,
# S105 Possible hardcoded password
S105,
# mutable module constant
WPS407,
views.py:
# Collides with other WPS errors if isorted
I005,
I001,
# For long ifs
E501,
# Too many local variables
WPS210,
# Nested classes
WPS431,
# Nested function
WPS430,
# wrong variable name obj
WPS110,
#simplifiable if (it is not simplifiable)
WPS531,
# too many return statements
WPS212
# too many module members
WPS202,
models_funcs.py:
# nested class
WPS431,
# nested function
WPS430,
# staticmethod
WPS602,
# wrong variable name
WPS110,
# incorrect super() call
WPS608,
manage.py:
# nested import
WPS433,
# shabeng stupid error
WPS453,
runner.py:
# implcit .items() usage
WPS528,
test_*.py:
# nested function
WPS430,
# nested function
WPS431,
# too many expressions
WPS213,
# too many arguments
WPS211,