Verify the element in item_context.args is of type ast.Name for b017
21.4.2
- Add another hasattr() check to b017 visit for .func
21.4.1
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
- Fix crash on tuple expansion in try/except block (161)
21.3.1
- 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
- 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)