Loading .flakerules.toml +5 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,11 @@ flake8-bugbear = [ # Would be nice if could take into account use as a non-mutable type "-B006", # DISABLE "Do not call assert False since python -O removes these calls. # Instead callers should raise AssertionError()." # Like… no duh. Thats why I use assert. "-B011", # DISABLE "release is an empty method in an abstract base class, [...]" # Until abstract methods are optional, empty optional "abstract" methods # stay Loading Loading
.flakerules.toml +5 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,11 @@ flake8-bugbear = [ # Would be nice if could take into account use as a non-mutable type "-B006", # DISABLE "Do not call assert False since python -O removes these calls. # Instead callers should raise AssertionError()." # Like… no duh. Thats why I use assert. "-B011", # DISABLE "release is an empty method in an abstract base class, [...]" # Until abstract methods are optional, empty optional "abstract" methods # stay Loading