Flake8-bugbear

Latest version: v24.12.12

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

24.1.17

* B038: Restrict rule to mutation functions only (453)

24.1.16

* B036: Fix crash on ``raise`` statements raising something other than

24.1.15

* 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

* 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

* B035: Fix false positive when named expressions are used (430)

23.11.26

* 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)

Page 2 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.