Skip to content

Update flake8-bugbear to 26.9.9 - #246

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-flake8-bugbear-24.12.12-to-26.9.9
Closed

pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-flake8-bugbear-24.12.12-to-26.9.9

Conversation

@pyup-bot

@pyup-bot pyup-bot commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

This PR updates flake8-bugbear from 24.12.12 to 26.9.9.

Changelog

26.9.9

* B044: New check for `assert <generator_expression>`, which is always true (534)
* B031: allow reusing a group after assigning `list(group)` or `tuple(group)` back to the same name (395)
* B028: report `warnings.warn` calls that pass an explicitly empty `skip_file_prefixes` tuple (510)
* B019: also flag `async_lru.alru_cache` and check cache decorators on `async def` methods (488)
* B023: don't flag a function whose every reference is a direct call inside the loop body (468, 380)
* B020: don't flag `for self.a in self.b`: rebinding an attribute is not rebinding the base name (248)
* B018: handle also useless calls such as `isinstance(x, int)` without assigning or using the result
* B031: don't count a store-context reference as a use of the `groupby` generator, and don't treat references in mutually exclusive `if`/`elif`/`else` branches as multiple uses (465)
* B902: don't raise a false positive on a metaclass defined with a dotted base such as `abc.ABCMeta` or `enum.EnumMeta` (411)
* B913: Add an optional check for unused `_` targets in `zip()` loops (545)
* B912: only emit on Python 3.14+ where `map()` supports `strict=` (548)

25.11.29

* B043: Add new check to state don't call delattr with constant (514)
* B042: ignore overloaded init, ignore if str+pickle dunder, improve README

25.10.21

* B042: New check for reminding to call super().__init__ in custom exceptions
* B028: Skip if skip_file_prefixes is used (503)
* B912: New check for `map()` without an explicit `strict=` parameter. (516)
* Add python3.14 Support / CI
* Remove python3.9 support / CI
* flake8-bugbear now requires at least Python 3.10, like the next release of flake8
Links

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #251

@pyup-bot pyup-bot closed this Sep 30, 2026
@jsfehler
jsfehler deleted the pyup-update-flake8-bugbear-24.12.12-to-26.9.9 branch September 30, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant