Skip to content

Releases: PyCQA/flake8-bugbear

21.9.1

12 Sep 19:27
09ca6c0

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

Choose a tag to compare

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

21.4.2

01 Apr 20:07

Choose a tag to compare

  • Add another hasattr() check to b017 visit for .func

21.4.1

01 Apr 17:57

Choose a tag to compare

Happy April Fools! This is no joke, it's a real release.

  • Add B017: check for gotta-catch-em-all assertRaises(Exception)

Catching them all is bad!

21.3.2

08 Mar 17:27

Choose a tag to compare

  • Fix crash on tuple expansion in try/except block (#161)

21.3.1

03 Mar 15:20

Choose a tag to compare

  • Fix grammar in B015 (#150)
  • Make sure float infinity/NaN does not trigger B008 (#155)
  • Handle positional-only args in class methods (#158)

20.11.1

23 Nov 23:15
fa82ac5

Choose a tag to compare

  • Support exception aliases properly in B014 (#129)
  • Add B015: Pointless comparison (#130)
  • Remove check for # noqa comments (#134)
  • Ignore exception classes which are not types (#135)
  • Introduce B016 to check for raising a literal. (#141)
  • Exclude types.MappingProxyType() from B008. (#144)

20.1.4

01 Feb 04:10

Choose a tag to compare

  • Ignore keywords for B009/B010

20.1.3

29 Jan 03:11

Choose a tag to compare

  • Silence B009/B010 for non-identifiers
  • State an ignore might be needed for optional B9x checks

20.1.2

06 Jan 03:51

Choose a tag to compare

Refer to README.rst for changes.