Flake8 Bugbear Versions Save

A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.

24.2.6

2 months ago
  • B902: Remove decorators named validator and root_validator from B902 checks (#459)
  • B038: Change B038 to B909 and make it optional (#456)

24.1.17

3 months ago
  • B038: Restrict rule to mutation functions only (#453)

24.1.16

3 months ago
  • B036: Fix crash on raise statements raising something other than

24.1.15

3 months ago
  • B038: Add check for mutations of loop iterator (#446)
  • B037: Add check for yielding or returning values in init() (#442)
  • B017: make B017 also apply to BaseException (#439)
  • B036: Add check for except BaseException without re-raising (#438)

23.12.2

4 months ago
  • B018: to detect useless-statements at all levels (#434)
  • B018: Add classname to b018 useless-expression output (#433)
  • B018: Include tuples in b018 useless-statement check (#432)

23.11.28

4 months ago
  • B035: Fix false positive when named expressions are used (#430)

23.11.26

4 months ago
  • B035: add check for static keys in dict-comprehension (#426)
  • B902: Add exceptions for standard library metaclasses (#415)
  • B017: Modify to no longer have a false negative when raises() is imported directly from pytest (#424)
  • B026: Fix bug where the check was not triggered for calls where the caller is an attribute (#420)

23.9.16

7 months ago
  • add --classmethod-decorators (#405)
  • fix name collision for node_stack on python 3.12 (#406)
  • Use pypa/build to build the package (#404)

23.7.10

9 months ago
  • Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments.
  • Fix a crash and several test failures on Python 3.12, all relating to the B907 check.
  • Declare support for Python 3.12.

23.6.5

10 months ago
  • Include tox.ini in MANIFEST.in for sdist. (#389)
  • Improve B033 (duplicate set items) (#385)