Skip to content

build(deps-dev): bump flake8-bugbear from 26.9.30 to 26.10.27 - #813

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/pip/flake8-bugbear-26.10.27
Nov 2, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/pip/flake8-bugbear-26.10.27

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor

Bumps flake8-bugbear from 26.9.30 to 26.10.27.

Release notes

Sourced from flake8-bugbear's releases.

26.10.27


* B007: don't flag a loop variable that is read by a function or lambda defined
  in the same scope as the loop ([#175](https://github.com/PyCQA/flake8-bugbear/issues/175))
* B049: New check for ``@abstractmethod`` listed before ``@property``,
  ``@classmethod`` or ``@staticmethod`` (or a property ``.setter``/``.getter``/
  ``.deleter``). It must be the innermost decorator, otherwise the class definition
  raises ``AttributeError`` ([#279](https://github.com/PyCQA/flake8-bugbear/issues/279))
* B906: don't flag ``visit_`` methods of libcst visitors (classes inheriting
  from ``libcst``), which have no ``generic_visit`` ([#359](https://github.com/PyCQA/flake8-bugbear/issues/359))
* B045: detect reuse of an enclosing loop's control variable in a nested loop
  in the same scope ([#360](https://github.com/PyCQA/flake8-bugbear/issues/360)).
* B046: New check for ``dict.fromkeys()`` called with a mutable value, which is
  shared by every key ([#387](https://github.com/PyCQA/flake8-bugbear/issues/387))
* B005: say in the message that only strings with repeated characters are
  reported, since ``.strip("abc")`` style character sets are fine ([#91](https://github.com/PyCQA/flake8-bugbear/issues/91))
* B047: New check for ``except`` handlers that can never run because an earlier
  handler already catches a builtin parent exception ([#349](https://github.com/PyCQA/flake8-bugbear/issues/349))
* B044: also report asserts on other always-true values, such as a message
  without a condition (``assert "x must be positive"``), non-zero numbers,
  f-strings with literal text, non-empty list/set/dict literals and lambdas
  ([#534](https://github.com/PyCQA/flake8-bugbear/issues/534), [#440](https://github.com/PyCQA/flake8-bugbear/issues/440))
* B031: only treat a bare ``groupby()`` call as ``itertools.groupby`` when the
  module doesn't bind ``groupby`` to something else, such as its own
  ``def groupby`` ([#356](https://github.com/PyCQA/flake8-bugbear/issues/356))
* B025: fix the message running ``except`` and the exception name together
  (``exceptValueError``) and dropping the ``*`` for ``except*`` handlers
* B903: don't flag classes that inherit from another class, like an exception
  or ``dict`` subclass, which a namedtuple can't replace, and fix ``__slot__``
  in the message to ``__slots__`` ([#63](https://github.com/PyCQA/flake8-bugbear/issues/63))
* B950: respect the ``max-doc-length`` option for docstring and comment-only lines,
  as ``pycodestyle``'s ``W505`` does; behavior is unchanged when it is not set ([#285](https://github.com/PyCQA/flake8-bugbear/issues/285))
* B902: treat ``abc.abstractclassmethod`` and ``abc.abstractstaticmethod`` like
  ``classmethod`` and ``staticmethod`` instead of expecting ``self`` ([#33](https://github.com/PyCQA/flake8-bugbear/issues/33))
* B909: also check loops over ``d.keys()``, ``d.values()`` and ``d.items()``,
  which are views of ``d``, so ``for k in d.keys(): d.pop(k)`` is reported like
  ``for k in d: d.pop(k)``
* B012: don't flag ``break`` or ``continue`` in an ``async for`` loop inside a
  ``finally`` block, as for ``for`` and ``while`` loops
* B018: also report generator expressions and lambdas used as statements. A
  statement like ``(print(x) for x in items)`` never runs its body, and a bare
  ``lambda x: True`` is usually an assignment that lost its target ([#452](https://github.com/PyCQA/flake8-bugbear/issues/452))
* B018: also report ``map()``, ``filter()``, ``reversed()``, ``zip()`` and
  ``enumerate()`` calls used as statements. They return lazy iterators, so
  ``map(print, items)`` on its own line never calls ``print`` ([#452](https://github.com/PyCQA/flake8-bugbear/issues/452))
* B909: also check mutations in ``if`` conditions and ``elif``/``else``
  branches inside loops ([#606](https://github.com/PyCQA/flake8-bugbear/issues/606))
* B042: don't treat a class named like an exception as one when its only base is
  ``object``, as in ``class ParsedException(object)`` ([#538](https://github.com/PyCQA/flake8-bugbear/issues/538))
</tr></table> 

... (truncated)

Commits
  • 0474fae Release 26.10.27
  • 8cab70c Merge pull request #608 from LuisFigueroaG/fix/b911-shadowed-batched
  • f7e2475 Treat assignments from itertools.batched as itertools
  • 36370da B911: don't flag a bare batched() the module binds to something else
  • 5eae983 Merge pull request #607 from LuisFigueroaG/fix/b042-object-base
  • 77845e2 B042: don't treat a class whose only base is object as an exception
  • 22d0af7 Merge pull request #606 from Don-Yin/fix-b909-if-branches
  • 8a37d0b Add changelog entry for B909 if-condition/branch fix (#606)
  • 25deff3 B909: visit if conditions and alternate branches
  • 7a66efc Merge pull request #605 from LuisFigueroaG/fix/b018-lazy-builtin-calls
  • 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 26.9.30 to 26.10.27.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](PyCQA/flake8-bugbear@26.9.30...26.10.27)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-version: 26.10.27
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 2, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 2, 2026 15:53
@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.57%. Comparing base (57b00c8) to head (e68f6d5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #813   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files          18       18           
  Lines        1408     1408           
  Branches       74       74           
=======================================
  Hits         1388     1388           
  Misses         17       17           
  Partials        3        3           
Flag Coverage Δ
unit 97.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
github-actions Bot merged commit 60073c6 into master Nov 2, 2026
27 checks passed
@github-actions
github-actions Bot deleted the dependabot/pip/flake8-bugbear-26.10.27 branch November 2, 2026 15:55
@codspeed

codspeed Bot commented Nov 2, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 17 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 63 untouched benchmarks
⏩ 4 skipped benchmarks1


Comparing dependabot/pip/flake8-bugbear-26.10.27 (e68f6d5) with master (57b00c8)2

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on master (bd7c520) during the generation of this report, so 57b00c8 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

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