Skip to content

Bump flake8-bugbear from 26.10.27 to 26.11.16 - #1727

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/flake8-bugbear-26.11.16
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/flake8-bugbear-26.11.16

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps flake8-bugbear from 26.10.27 to 26.11.16.

Release notes

Sourced from flake8-bugbear's releases.

26.11.16

  • B048: Add new check for using the result of str.find()/str.rfind() directly as a boolean (#170)
  • B909: detect mutations when a loop unpacks the iterable's elements.
  • B040: don't report an exception whose note is shown by logger.exception(), exc_info=True, traceback.print_exc()/format_exc() or sys.exc_info()
  • B021: also check f-string docstrings on async def functions
  • README: add Avoid/Prefer code examples for B006, B008, B015, B017, B023 and B032

26.11.9

  • Drop Python 3.10 support (flake8 itself now requires >=3.11)
  • B018: only report a map(), filter(), reversed(), zip() or enumerate() statement when the name is the builtin, not when the module defines or imports its own function under that name, which may well do the work
  • B031, B911: a bare groupby/batched imported from itertools no longer counts as itertools when a later module-level def or assignment replaces it
  • B031, B911: an annotated batched: Callable = itertools.batched counts as itertools, like the same assignment without the annotation
  • B912, B913: only report map() and zip() when the name is the builtin, not when a module-level def, class, import or assignment replaces it with something else
  • B905, B910: only report zip() and defaultdict(int) when the name is the builtin zip/collections.defaultdict, not when a module-level def, class, import or assignment replaces it with something else
  • B018, B031, B905, B910, B911: an import or zip = builtins.zip style alias inside a function or class no longer overrides the module's own def, class or import of that name, since it only binds the name locally
  • B042: don't report an __init__ that calls a direct base class's __init__ explicitly and forwards its own arguments unchanged and in order, like Exception.__init__(self, msg, opt), also after another base's __init__ such as a mixin's
  • Add type hints throughout bugbear, checked with mypy --strict in tox and CI
Commits
  • 696c64e Release 26.11.16
  • 8cb0fad Merge pull request #571 from ChrisJr404/b044-find-truthiness
  • dba6741 B048: don't report the last and/or operand outside a condition
  • 0034041 B048: add check for using str.find()/rfind() result as a boolean (#170)
  • f682dff Merge pull request #636 from hector2394/contribution/620-b023-b032-examples
  • 857d71c Merge pull request #635 from umrndem/docs-b015-b017-examples
  • 3f8bc89 docs: use Avoid/Prefer labels for all rule examples
  • 37e438b docs: use Bad/Good labels to match other rule examples
  • acecdc5 Merge pull request #633 from abhishekcpp007/fix/b021-async-function
  • 56c2b74 Merge pull request #632 from nafiurahman00/b040-implicit-exception-use
  • 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.10.27 to 26.11.16.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](PyCQA/flake8-bugbear@26.10.27...26.11.16)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-version: 26.11.16
  dependency-type: direct:production
  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:uv Pull requests that update python:uv code labels Nov 19, 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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants