chore(deps): update dependency flake8-bugbear to v26 #664

Merged
tobru merged 1 commit from renovate/flake8-bugbear-26.x into main 2026-09-10 13:40:58 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
flake8-bugbear (changelog) >=25.11.29>=26.9.9 age confidence

Release Notes

PyCQA/flake8-bugbear (flake8-bugbear)

v26.9.9

Compare Source

  • 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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://github.com/PyCQA/flake8-bugbear#change-log)) | `>=25.11.29` → `>=26.9.9` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-bugbear/26.9.9?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-bugbear/25.11.29/26.9.9?slim=true) | --- ### Release Notes <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v26.9.9`](https://github.com/PyCQA/flake8-bugbear/releases/tag/26.9.9) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/25.11.29...26.9.9) - B044: New check for `assert <generator_expression>`, which is always true ([#&#8203;534](https://github.com/PyCQA/flake8-bugbear/issues/534)) - B031: allow reusing a group after assigning `list(group)` or `tuple(group)` back to the same name ([#&#8203;395](https://github.com/PyCQA/flake8-bugbear/issues/395)) - B028: report `warnings.warn` calls that pass an explicitly empty `skip_file_prefixes` tuple ([#&#8203;510](https://github.com/PyCQA/flake8-bugbear/issues/510)) - B019: also flag `async_lru.alru_cache` and check cache decorators on `async def` methods ([#&#8203;488](https://github.com/PyCQA/flake8-bugbear/issues/488)) - B023: don't flag a function whose every reference is a direct call inside the loop body ([#&#8203;468](https://github.com/PyCQA/flake8-bugbear/issues/468), [#&#8203;380](https://github.com/PyCQA/flake8-bugbear/issues/380)) - B020: don't flag `for self.a in self.b`: rebinding an attribute is not rebinding the base name ([#&#8203;248](https://github.com/PyCQA/flake8-bugbear/issues/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 ([#&#8203;465](https://github.com/PyCQA/flake8-bugbear/issues/465)) - B902: don't raise a false positive on a metaclass defined with a dotted base such as `abc.ABCMeta` or `enum.EnumMeta` ([#&#8203;411](https://github.com/PyCQA/flake8-bugbear/issues/411)) - B913: Add an optional check for unused `_` targets in `zip()` loops ([#&#8203;545](https://github.com/PyCQA/flake8-bugbear/issues/545)) - B912: only emit on Python 3.14+ where `map()` supports `strict=` ([#&#8203;548](https://github.com/PyCQA/flake8-bugbear/issues/548)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS42IiwidXBkYXRlZEluVmVyIjoiNDQuNjEuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
chore(deps): update dependency flake8-bugbear to v26
All checks were successful
Tests / test (push) Successful in 1m24s
96050ee253
tobru merged commit 6cc4866d5a into main 2026-09-10 13:40:58 +00:00
tobru deleted branch renovate/flake8-bugbear-26.x 2026-09-10 13:40:58 +00:00
Sign in to join this conversation.
No description provided.