Should we include flake-bugbear plugin?

I came across a plugin for flake8 called flake8-bugbear. It activates additional checks for likely errors in Python code that are not backed up by PEPs but nevertheless are probably a bad idea, e.g. bare except: clauses.

The black formatter uses it and we could easily add it to our existing pre-commit configuration. Would there be any reason not to include this?

I’ll give this a +1, since we have a couple of bare except clauses that catch keyboard interrupts too, preventing a user from stopping a script in-progress or handling it incorrectly.