Skip to content

build(deps): bump flake8-bugbear from 22.9.11 to 26.9.30 - #257

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/flake8-bugbear-26.9.30
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/flake8-bugbear-26.9.30

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown

Bumps flake8-bugbear from 22.9.11 to 26.9.30.

Release notes

Sourced from flake8-bugbear's releases.

26.9.30

  • B008: resolve direct module-level imports and aliases when matching extend-immutable-calls (#252)
  • B015: allow comparisons inside pytest/unittest exception and warning assertion context managers, where an overloaded comparison may intentionally raise (#462).
  • B020: stop flagging names bound inside nested destructuring patterns, like series in for i, (ax, (series, name)) in enumerate(zip(axs, series)); the loop rebinds the top-level targets, not those names (#521)
  • Add Python 3.15 support / CI
  • B913: fix crash on {**d for d in ...} dict unpacking in comprehensions, new in Python 3.15; B035 no longer mistakes the unpacked expression for a static key
  • B018: also report unary and arithmetic operations used as statements, such as a +c * d continuation line that lost its parentheses (#452)
  • B042: don't treat a class named like an exception as one when its only bases are parameterized generics such as ContextManager[T]; a generic base named like an exception, such as MyError[int], now counts (#538)

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

24.12.12

  • B012 and B025 now also handle try/except* (#500)
  • Skip B028 if warnings.warn is called with *args or **kwargs (#501)
  • Add B911: itertools.batched without strict= (#502)
  • Readme has anchors per check (they do not seem to render on GitHub tho)

24.10.31

  • B041: New dictionary same key AND value check (#496)
  • B037: Fix typo in error message
  • B024: No longer treats assigned class variables as abstract (#471)
  • Bump required attrs version to 22.2.0

24.8.19

  • B910: implement to suggest using Counter() instead of defaultdict(int) (#489)
  • B901: Do not trigger with explicit Generator return type (#481)
  • B008: add some comments, rename b008_extend_immutable_calls (#476)

... (truncated)

Commits
  • 219344d Release 26.9.30
  • 7fd9119 Merge pull request #574 from 1678092075/fix/b008-imported-immutable-calls
  • c94cb3e B008: resolve imported immutable calls
  • b81c4e0 Fix B015 false positives in exception assertion contexts (#583)
  • 02aba14 [pre-commit.ci] pre-commit autoupdate (#582)
  • 47de1bb B020: only match top-level bindings of the loop target (#581)
  • d64ab05 Add Python 3.15 support / CI + fix B913 crash on unpack dict comprehensions (...
  • fa5fe9e B018: report useless unary and arithmetic operations (#579)
  • 4c3f7b6 B042: don't count a parameterized generic base as an exception super class (#...
  • 1de11dc Add description of recursion errors handling to 26.9.9 changelog (#577)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.9.11 to 26.9.30.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](PyCQA/flake8-bugbear@22.9.11...26.9.30)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-version: 26.9.30
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants