From f9ec3533c128ba512aedd845924492dd5c69dd2f Mon Sep 17 00:00:00 2001 From: Mischback Date: Mon, 29 Nov 2021 09:51:35 +0100 Subject: [PATCH] Mitigate bug in flake8-bugbear Release 21.11.28 of flake8-bugbear introduces a bug with B018 (see https://github.com/PyCQA/flake8-bugbear/issues/208). As of now, simply disable that rule in flake8 configuration. --- .flake8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.flake8 b/.flake8 index ab7d049f..8263eacc 100644 --- a/.flake8 +++ b/.flake8 @@ -18,6 +18,8 @@ ignore = W503, # line length (of code) is handled by black E501, + # As of 2021-11-28 there is a bug in flake8-bugbear (#208) + B018 per-file-ignores = tests/interfaces/*.py:D