Skip to content

Commit

Permalink
Mitigate bug in flake8-bugbear
Browse files Browse the repository at this point in the history
Release 21.11.28 of flake8-bugbear introduces a bug with B018 (see
PyCQA/flake8-bugbear#208).

As of now, simply disable that rule in flake8 configuration.
  • Loading branch information
Mischback committed Nov 29, 2021
1 parent 9898850 commit f9ec353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9ec353

Please sign in to comment.