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.

22.3.20

2 years ago
  • 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

2 years ago
  • B018: Ignore JoinedStr (#216)
  • Build universal Python 3 wheels (#214)
  • B950: Add same special cases as E501 (#213)

21.11.29

2 years ago
  • B018: Disable strings from check for now (#209)

21.11.28

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

3 years ago

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

21.4.2

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

21.4.1

3 years ago

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

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