Skip to content

Releases: PyCQA/flake8-bugbear

22.6.22

23 Jun 01:16
88bb957
Compare
Choose a tag to compare
  • Don't crash when select / extend_select are None (#261)
    • Unlocks new flake8 release - Thanks @asottile
  • Ignore lambda arguments for B020 (#259)
  • Fix missing space typos in B021, B022 error messages (#257)

22.4.25

25 Apr 14:31
Compare
Choose a tag to compare
  • Ignore black formatting for b013 test case (#251)
  • B010 Fix lambda false positive (#246)
  • B008 Fix edge case with lambda functions (#243)

22.3.23

23 Mar 21:32
Compare
Choose a tag to compare
  • B006 and B008: Detect function calls at any level of the default expression (#239)
  • B020: Fix comprehension false postives (#238)
  • Tweak B019 desc (#237)

22.3.20

20 Mar 19:50
0069532
Compare
Choose a tag to compare
  • B022: No arguments passed to contextlib.suppress (#231)
  • B021: f-string used as docstring. (#230)
  • B020: ensure loop control variable doesn't overrides iterable it iterates (#220)
  • B019: check to find cache decorators on class methods (#218)
  • Fix crash on long empty string (#223)

22.1.11

12 Jan 04:23
Compare
Choose a tag to compare
  • B018: Ignore JoinedStr (#216)
  • Build universal Python 3 wheels (#214)
  • B950: Add same special cases as E501 (#213)

21.11.29

29 Nov 19:55
49aec18
Compare
Choose a tag to compare
  • B018: Disable strings from check for now (#209)

21.11.28

28 Nov 17:12
Compare
Choose a tag to compare
  • B904: ensure the raise is in the same context with the except (#191)
  • Add Option to extend the list of immutable calls (#204)
  • Update B014: binascii.Error is now treated as a subclass of ValueError (#206)
  • add simple pre-commit config (#205)
  • Test with 3.10 official
  • Add B018 check to find useless declarations (#196, #202)

21.9.2

29 Sep 14:41
Compare
Choose a tag to compare
  • Fix crash on call in except statement in _to_name_str (#187)
  • Update B006: list, dictionary, and set comprehensions are now also disallowed (#186)

21.9.1

12 Sep 19:27
09ca6c0
Compare
Choose a tag to compare
  • Update B008: Whitelist more immutable function calls (#173)
  • Remove Python Compatibility Warnings (#182)
  • Add B904: check for raise without from in an except clause (#181)
  • Add Python 3.10 tests to ensure we pass (#183)

21.4.3

01 Apr 21:21
63239e0
Compare
Choose a tag to compare

Verify the element in item_context.args is of type ast.Name for b017