A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
except a[0].b:
)strip()
method on an imported module.visit_Bytes
, visit_Num
and visit_Str
to the list of visit_*
functions that are ignored by the B906 check. The ast.Bytes
, ast.Num
and
ast.Str
nodes are all deprecated, but may still be used by some codebases in
order to maintain backwards compatibility with Python 3.7.except
with an empty tuple i.e. except: ()
.pytest.raises()
has a match
argument. (#334)visit_
functions with a _fields
attribute that can't contain ast.AST subnodes. (#330)visit_
function with no further calls to a visit
function. (#313)!r
when formatted value in f-string is surrounded by quotes. (#319)zip()
without an explicit strict=
parameter. (#314)