From e5201c3ad720f8dbab08ee3fcef99d2d8c56a2c7 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Fri, 2 Sep 2022 23:26:10 +0200 Subject: [PATCH] Ignore B024 flake-bugbear warning https://github.com/PyCQA/flake8-bugbear/issues/278 --- setup.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 3edc04d1d4..6863440015 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,10 @@ [flake8] max-line-length = 99 -ignore = E731, E402, W504, N818 +ignore = + E402, # module level import at file top. https://www.flake8rules.com/rules/E402.html + W504, # line break after binary operator. https://www.flake8rules.com/rules/W504.html + N818, # error suffix in exception names + B024 # abstract base class with no abstract methods. https://github.com/PyCQA/flake8-bugbear/issues/278 [isort] line_length=99