diff --git a/setup.cfg b/setup.cfg index 4ca0f0d7aabb..245156b26dc3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,21 +28,21 @@ format = pylint # see: https://www.flake8rules.com/ ignore = E731 # Do not assign a lambda expression, use a def - F405 - E402 - F841 - E741 - F821 - E722 - F401 - W504 - E127 - W504 - E231 - E501 - F403 - E302 - F541 + F405 # name may be undefined, or defined from star imports: module + E402 # module level import not at top of file + F841 # local variable name is assigned to but never used + E741 # do not use variables named ‘l’, ‘O’, or ‘I’ + F821 # undefined name name + E722 # do not use bare except, specify exception instead + F401 # module imported but unused + W504 # line break after binary operator + E127 # continuation line over-indented for visual indent + W504 # line break after binary operator + E231 # missing whitespace after ‘,’, ‘;’, or ‘:’ + E501 # line too long + F403 # ‘from module import *’ used; unable to detect undefined names + E302 # expected 2 blank lines, found 0 + F541 # f-string without any placeholders [isort]