Jirka Borovec
commited on
flake8: code meanings (#6481)
Browse files
setup.cfg
CHANGED
@@ -28,21 +28,21 @@ format = pylint
|
|
28 |
# see: https://www.flake8rules.com/
|
29 |
ignore =
|
30 |
E731 # Do not assign a lambda expression, use a def
|
31 |
-
F405
|
32 |
-
E402
|
33 |
-
F841
|
34 |
-
E741
|
35 |
-
F821
|
36 |
-
E722
|
37 |
-
F401
|
38 |
-
W504
|
39 |
-
E127
|
40 |
-
W504
|
41 |
-
E231
|
42 |
-
E501
|
43 |
-
F403
|
44 |
-
E302
|
45 |
-
F541
|
46 |
|
47 |
|
48 |
[isort]
|
|
|
28 |
# see: https://www.flake8rules.com/
|
29 |
ignore =
|
30 |
E731 # Do not assign a lambda expression, use a def
|
31 |
+
F405 # name may be undefined, or defined from star imports: module
|
32 |
+
E402 # module level import not at top of file
|
33 |
+
F841 # local variable name is assigned to but never used
|
34 |
+
E741 # do not use variables named βlβ, βOβ, or βIβ
|
35 |
+
F821 # undefined name name
|
36 |
+
E722 # do not use bare except, specify exception instead
|
37 |
+
F401 # module imported but unused
|
38 |
+
W504 # line break after binary operator
|
39 |
+
E127 # continuation line over-indented for visual indent
|
40 |
+
W504 # line break after binary operator
|
41 |
+
E231 # missing whitespace after β,β, β;β, or β:β
|
42 |
+
E501 # line too long
|
43 |
+
F403 # βfrom module import *β used; unable to detect undefined names
|
44 |
+
E302 # expected 2 blank lines, found 0
|
45 |
+
F541 # f-string without any placeholders
|
46 |
|
47 |
|
48 |
[isort]
|