github PyCQA/flake8-bugbear 23.2.13

latest releases: 24.8.19, 24.4.26, 24.4.21...
19 months ago
  • B906: Add 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.
  • B016: Warn when raising f-strings.
  • Add B028: Check for an explicit stacklevel keyword argument on the warn method from the warnings module.
  • Add B029: Check when trying to use except with an empty tuple i.e. except: ().
  • Add B032: Check for possible unintentional type annotations instead of assignments.

Don't miss a new flake8-bugbear release

NewReleases is sending notifications on new releases.