Skip to content

Releases: PyCQA/flake8-bugbear

24.10.31

31 Oct 18:24
Compare
Choose a tag to compare
  • B041: New dictionary same key AND value check (#496)
  • B037: Fix typo in error message
  • B024: No longer treats assigned class variables as abstract (#471)
  • Bump required attrs version to 22.2.0

24.8.19

20 Aug 02:15
Compare
Choose a tag to compare
  • B910: implement to suggest using Counter() instead of defaultdict(int) (#489)
  • B901: Do not trigger with explicit Generator return type (#481)
  • B008: add some comments, rename b008_extend_immutable_calls (#476)
  • B040: exception with note added not reraised or used (#477)
  • B039, Add ContextVar with mutable literal or function call as default
  • B040: Add Exception with added note not reraised. (#474)
  • Run tests in Python 3.13
  • Type annotated code (#481 + #483)
  • Replace hash with unsafe_hash (#486)

24.4.26

26 Apr 14:50
Compare
Choose a tag to compare
  • B909: Fix false positive affecting containers of mutables (#469)

24.4.21

21 Apr 15:52
Compare
Choose a tag to compare
  • B950: Add pragma comment to line length ignores (#463)
  • B909: Add more cases to detect + more container mutating functions (#460)

24.2.6

07 Feb 04:24
Compare
Choose a tag to compare
  • 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

17 Jan 15:52
Compare
Choose a tag to compare
  • B038: Restrict rule to mutation functions only (#453)

24.1.16

16 Jan 14:19
Compare
Choose a tag to compare
  • B036: Fix crash on raise statements raising something other than

24.1.15

15 Jan 23:12
Compare
Choose a tag to compare
  • 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

02 Dec 22:58
Compare
Choose a tag to compare
  • 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

29 Nov 05:10
Compare
Choose a tag to compare
  • B035: Fix false positive when named expressions are used (#430)