From aeecd5a90ef9d312401bae1593360a783f04a557 Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Fri, 25 Nov 2022 19:09:56 +0100 Subject: [PATCH 1/2] fix flake8 config --- setup.cfg | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index d2c4a4e51c3..b51ce62cfe1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -147,11 +147,16 @@ markers = [flake8] ignore = - E203 # whitespace before ':' - doesn't work well with black - E402 # module level import not at top of file - E501 # line too long - let black worry about that - E731 # do not assign a lambda expression, use a def - W503 # line break before binary operator + # whitespace before ':' - doesn't work well with black + E203 + # module level import not at top of file + E402 + # line too long - let black worry about that + E501 + # do not assign a lambda expression, use a def + E731 + # line break before binary operator + W503 exclude = .eggs doc From fd3b8c43b6a80a477005ec8ea3a7f6e08b6792ce Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Mon, 28 Nov 2022 11:03:14 +0100 Subject: [PATCH 2/2] reformat --- setup.cfg | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/setup.cfg b/setup.cfg index b51ce62cfe1..7919908e8ec 100644 --- a/setup.cfg +++ b/setup.cfg @@ -147,16 +147,12 @@ markers = [flake8] ignore = - # whitespace before ':' - doesn't work well with black - E203 - # module level import not at top of file - E402 - # line too long - let black worry about that - E501 - # do not assign a lambda expression, use a def - E731 - # line break before binary operator - W503 + # E203: whitespace before ':' - doesn't work well with black + # E402: module level import not at top of file + # E501: line too long - let black worry about that + # E731: do not assign a lambda expression, use a def + # W503: line break before binary operator + E203, E402, E501, E731, W503 exclude = .eggs doc