From af614b964fd9bd44ae891e77510f1b5f9bac4a7c Mon Sep 17 00:00:00 2001 From: Jirka Date: Mon, 31 Jan 2022 17:39:33 +0100 Subject: [PATCH] flake8: code meanings --- setup.cfg | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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]