flake8: code meanings (#6481)
This commit is contained in:
1 parent
aff0281969
commit
e1a6a0b100
1 file changed
+15
-15
@@ -28,21 +28,21 @@ format = pylint
|
|||||||
# see: https://www.flake8rules.com/
|
# see: https://www.flake8rules.com/
|
||||||
ignore =
|
ignore =
|
||||||
E731 # Do not assign a lambda expression, use a def
|
E731 # Do not assign a lambda expression, use a def
|
||||||
F405
|
F405 # name may be undefined, or defined from star imports: module
|
||||||
E402
|
E402 # module level import not at top of file
|
||||||
F841
|
F841 # local variable name is assigned to but never used
|
||||||
E741
|
E741 # do not use variables named ‘l’, ‘O’, or ‘I’
|
||||||
F821
|
F821 # undefined name name
|
||||||
E722
|
E722 # do not use bare except, specify exception instead
|
||||||
F401
|
F401 # module imported but unused
|
||||||
W504
|
W504 # line break after binary operator
|
||||||
E127
|
E127 # continuation line over-indented for visual indent
|
||||||
W504
|
W504 # line break after binary operator
|
||||||
E231
|
E231 # missing whitespace after ‘,’, ‘;’, or ‘:’
|
||||||
E501
|
E501 # line too long
|
||||||
F403
|
F403 # ‘from module import *’ used; unable to detect undefined names
|
||||||
E302
|
E302 # expected 2 blank lines, found 0
|
||||||
F541
|
F541 # f-string without any placeholders
|
||||||
|
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
|
|||||||
Reference in new issue
Block a user