You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flake8-bugbear (https://github.com/PyCQA/flake8-bugbear) is a plugin for flake8 that contains additional rules aimed at finding likely bugs and design problems in the code. Notable rules include:
B006: Do not use mutable data structures for argument defaults.
B018: Found useless expression.
At the time of this writing, adding flake8-bugbear spits out 166 problems, most of which are in tests. If we decide to go with flake8-bugbear, we could ignore it for tests and clean those up over time before flipping the switch.
The text was updated successfully, but these errors were encountered:
flake8-bugbear
(https://github.com/PyCQA/flake8-bugbear) is a plugin forflake8
that contains additional rules aimed at finding likely bugs and design problems in the code. Notable rules include:At the time of this writing, adding
flake8-bugbear
spits out 166 problems, most of which are in tests. If we decide to go withflake8-bugbear
, we could ignore it for tests and clean those up over time before flipping the switch.The text was updated successfully, but these errors were encountered: