Skip to content

Bump the flake8 group across 1 directory with 2 updates - #631

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-pip-flake8-1cfb24350c
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-pip-flake8-1cfb24350c

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the flake8 group with 2 updates in the / directory: flake8 and flake8-bugbear.

Updates flake8 from 7.4.1 to 7.5.0

Commits

Updates 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 dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 2, 2026
Bumps the flake8 group with 2 updates in the / directory: [flake8](https://github.com/pycqa/flake8) and [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear).


Updates `flake8` from 7.4.1 to 7.5.0
- [Commits](PyCQA/flake8@7.4.1...7.5.0)

Updates `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
  dependency-version: 7.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: flake8
- dependency-name: flake8-bugbear
  dependency-version: 26.10.27
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: flake8
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump the flake8 group with 2 updates Bump the flake8 group across 1 directory with 2 updates Nov 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot-pip-flake8-1cfb24350c branch from 707441a to 90ae404 Compare November 9, 2026 08:03
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