Repository navigation
Update dependency flake8-bugbear to v26 - #94
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/flake8-bugbear-26.x
branch
from
October 1, 2026 05:25
3c28ec4 to
1270e37
Compare
renovate
Bot
force-pushed
the
renovate/flake8-bugbear-26.x
branch
from
October 27, 2026 22:02
1270e37 to
7ad6c0a
Compare
renovate
Bot
force-pushed
the
renovate/flake8-bugbear-26.x
branch
from
November 9, 2026 17:54
7ad6c0a to
3d131a8
Compare
renovate
Bot
force-pushed
the
renovate/flake8-bugbear-26.x
branch
from
November 16, 2026 09:07
3d131a8 to
2e000f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==21.11.29→==26.11.16Release Notes
PyCQA/flake8-bugbear (flake8-bugbear)
v26.11.16Compare Source
str.find()/str.rfind()directly as a boolean (#170)logger.exception(),exc_info=True,traceback.print_exc()/format_exc()orsys.exc_info()async deffunctionsv26.11.9Compare Source
map(),filter(),reversed(),zip()orenumerate()statement when the name is the builtin, not when the moduledefines or imports its own function under that name, which may well do the work
groupby/batchedimported fromitertoolsno longercounts as
itertoolswhen a later module-leveldefor assignment replaces itbatched: Callable = itertools.batchedcounts asitertools, like the same assignment without the annotationmap()andzip()when the name is the builtin, notwhen a module-level
def,class, import or assignment replaces it withsomething else
zip()anddefaultdict(int)when the name is thebuiltin
zip/collections.defaultdict, not when a module-leveldef,class, import or assignment replaces it with something elsezip = builtins.zipstyle aliasinside a function or class no longer overrides the module's own
def,classor import of that name, since it only binds the name locally__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
mypy --strictin tox and CIv26.10.27Compare Source
v26.9.30Compare Source
extend-immutable-calls(#252)seriesinfor i, (ax, (series, name)) in enumerate(zip(axs, series)); the loop rebinds the top-level targets, not those names (#521){**d for d in ...}dict unpacking in comprehensions, new in Python 3.15; B035 no longer mistakes the unpacked expression for a static key+c * dcontinuation line that lost its parentheses (#452)ContextManager[T]; a generic base named like an exception, such asMyError[int], now counts (#538)v26.9.9Compare Source
assert <generator_expression>, which is always true (#534)list(group)ortuple(group)back to the same name (#395)warnings.warncalls that pass an explicitly emptyskip_file_prefixestuple (#510)async_lru.alru_cacheand check cache decorators onasync defmethods (#488)for self.a in self.b: rebinding an attribute is not rebinding the base name (#248)isinstance(x, int)without assigning or using the resultgroupbygenerator, and don't treat references in mutually exclusiveif/elif/elsebranches as multiple uses (#465)abc.ABCMetaorenum.EnumMeta(#411)_targets inzip()loops (#545)map()supportsstrict=(#548)v25.11.29Compare Source
v25.10.21Compare Source
map()without an explicitstrict=parameter. (#516)v24.12.12Compare Source
*argsor**kwargs(#501)v24.10.31Compare Source
v24.8.19Compare Source
ContextVarwith mutable literal or function call as defaultv24.4.26Compare Source
v24.4.21Compare Source
v24.2.6Compare Source
v24.1.17Compare Source
v24.1.16Compare Source
raisestatements raising something other thanv24.1.15Compare Source
v23.12.2Compare Source
v23.11.28Compare Source
v23.11.26Compare Source
directly from pytest (#424)
is an attribute (#420)
v23.9.16Compare Source
v23.7.10Compare Source
check.
v23.6.5Compare Source
v23.5.9Compare Source
v23.3.23Compare Source
except a[0].b:)v23.3.12Compare Source
strip()method on an imported module.v23.2.13Compare Source
visit_Bytes,visit_Numandvisit_Strto the list ofvisit_*functions that are ignored by the B906 check. The
ast.Bytes,ast.Numandast.Strnodes are all deprecated, but may still be used by some codebases inorder to maintain backwards compatibility with Python 3.7.
exceptwith an empty tuple i.e.except: ().v23.1.20Compare Source
pytest.raises()has amatchargument. (#334)visit_functions with a_fieldsattribute that can't contain ast.AST subnodes. (#330)v23.1.17Compare Source
v23.1.14Compare Source
visit_function with no further calls to avisitfunction. (#313)!rwhen formatted value in f-string is surrounded by quotes. (#319)v22.12.6Compare Source
zip()without an explicitstrict=parameter. (#314)v22.10.27Compare Source
v22.10.25Compare Source
tox(#294)pyproject.tomlpackage (#291)v22.9.23Compare Source
v22.9.11Compare Source
v22.8.23Compare Source
v22.8.22Compare Source
v22.7.1Compare Source
v22.6.22Compare Source
v22.4.25Compare Source
v22.3.23Compare Source
v22.3.20Compare Source
v22.1.11Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.