Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python314-flake8-bugbear-26.10.27-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python314-flake8-bugbear Distribution: openSUSE Tumbleweed
Version: 26.10.27 Vendor: openSUSE
Release: 1.1 Build date: Mon Nov 9 00:17:37 2026
Group: Development/Languages/Python Build host: reproducible
Size: 504775 Source RPM: python-flake8-bugbear-26.10.27-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/PyCQA/flake8-bugbear
Summary: A plugin for flake8 finding likely bugs and design problems in your program
A plugin for Flake8 finding likely bugs and design problems in your
program.  Contains warnings that don't belong in pyflakes and
pycodestyle.

Provides

Requires

License

MIT

Changelog

* Sun Nov 08 2026 Dirk Müller <dmueller@suse.com>
  - update to 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
    * 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``
    * B906: don't flag ``visit_`` methods of libcst visitors
      (classes inheriting
    * from ``libcst``), which have no ``generic_visit``
    * B045: detect reuse of an enclosing loop's control variable in
      a nested loop
    * in the same scope (#360).
    * B046: New check for ``dict.fromkeys()`` called with a mutable
      value, which is
    * shared by every key
    * B005: say in the message that only strings with repeated
      characters are
    * reported, since ``.strip("abc")`` style character sets are
      fine
    * B047: New check for ``except`` handlers that can never run
      because an earlier
    * handler already catches a builtin parent exception
    * 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, #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``
    * 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__``
    * 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
    * B902: treat ``abc.abstractclassmethod`` and
      ``abc.abstractstaticmethod`` like
    * ``classmethod`` and ``staticmethod`` instead of expecting
      ``self``
    * 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
    * 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``
    * B909: also check mutations in ``if`` conditions and
      ``elif``/``else``
    * branches inside loops
    * B042: don't treat a class named like an exception as one when
      its only base is
    * ``object``, as in ``class ParsedException(object)``
    * B911: only treat a bare ``batched()`` call as
      ``itertools.batched`` when the
    * module doesn't bind ``batched`` to something else, such as
      its own
    * ``def batched``, the same way B031 handles ``groupby()``
  - update to 26.9.30:
    * B008: resolve direct module-level imports and aliases when
      matching `extend-immutable-calls`
    * 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
    * 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
    * 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
  - update to 26.9.9:
    * B044: New check for `assert `, which is always true
    * B031: allow reusing a group after assigning `list(group)` or
      `tuple(group)` back to the same name
    * B028: report `warnings.warn` calls that pass an explicitly
      empty `skip_file_prefixes` tuple
    * B019: also flag `async_lru.alru_cache` and check cache
      decorators on `async def` methods
    * B023: don't flag a function whose every reference is a direct
      call inside the loop body
    * B020: don't flag `for self.a in self.b`: rebinding an
      attribute is not rebinding the base name
    * 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
    * B902: don't raise a false positive on a metaclass defined
      with a dotted base such as `abc.ABCMeta` or `enum.EnumMeta`
    * B913: Add an optional check for unused `_` targets in `zip()`
      loops
    * B912: only emit on Python 3.14+ where `map()` supports
      `strict=`
* Wed Apr 01 2026 Dirk Müller <dmueller@suse.com>
  - update to 25.11.29:
    * B043: Add new check to state don't call delattr with constant
    * B042: ignore overloaded init, ignore if str+pickle dunder,
    * B042: New check for reminding to call super().__init__ in
      custom exceptions
    * B028: Skip if skip_file_prefixes is used
    * B912: New check for `map()` without an explicit `strict=`
      parameter.
    * 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
* Mon Sep 29 2025 Dirk Müller <dmueller@suse.com>
  - update to 24.12.12:
    * B012 and B025 now also handle try/except*
    * Skip B028 if warnings.warn is called with ``*args`` or
      ``**kwargs``
    * Add B911: itertools.batched without strict=
    * Readme has anchors per check (they do not seem to render on
      GitHub tho)
  - update to 24.10.31:
    * B041: New dictionary same key AND value check
    * B037: Fix typo in error message
    * B024: No longer treats assigned class variables as abstract
    * Bump required attrs version to 22.2.0
  - update to 24.8.19:
    * B910: implement to suggest using Counter() instead of
      defaultdict(int)
    * B901: Do not trigger with explicit Generator return type
    * B008: add some comments, rename b008_extend_immutable_calls
    * B040: exception with note added not reraised or used
    * B039, Add ``ContextVar`` with mutable literal or function
      call as default
    * B040: Add Exception with added note not reraised.
    * Run tests in Python 3.13
    * Type annotated code
    * Replace hash with unsafe_hash
  - update to 24.4.26:
    * B909: Fix false positive affecting containers of mutables
  - update to 24.4.21:
    * B950: Add pragma comment to line length ignores
    * B909: Add more cases to detect + more container mutating
      functions
* Tue May 27 2025 Markéta Machová <mmachova@suse.com>
  - Convert to pip-based build
* Mon Mar 25 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.2.6:
    * B902: Remove decorators named validator and root_validator
      from B902 checks
    * B038: Change B038 to B909 and make it optional
* Sat Jan 20 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.1.17:
    * B038: Restrict rule to mutation functions only
  - update to 24.1.16:
    * B036: Fix crash on ``raise`` statements raising something
      other than
  - update to 24.1.15:
    * B038: Add check for mutations of loop iterator
    * B037: Add check for yielding or returning values in
      __init__()
    * B017: make B017 also apply to BaseException
    * B036: Add check for except BaseException without re-raising
* Mon Dec 04 2023 Dirk Müller <dmueller@suse.com>
  - update to 23.12.2:
    * B018: to detect useless-statements at all levels (#434)
    * B018: Add classname to b018 useless-expression output (#433)
    * B018: Include tuples in b018 useless-statement check (#432)
  - update to 23.11.28:
    * B035: Fix false positive when named expressions are used
      (#430)
  - update to 23.11.26:
    * B035: add check for static keys in dict-comprehension (#426)
    * B902: Add exceptions for standard library metaclasses (#415)
    * B017: Modify to no longer have a false negative when raises()
      is imported directly from pytest (#424)
    * B026: Fix bug where the check was not triggered for calls
      where the caller is an attribute (#420)
* Mon Sep 18 2023 Daniel Garcia <daniel.garcia@suse.com>
  - update to 23.9.16:
    * add --classmethod-decorators (#405)
    * fix name collision for node_stack on python 3.12 (#406)
    * Use pypa/build to build the package (#404)
* Tue Jul 11 2023 Dirk Müller <dmueller@suse.com>
  - update to 23.7.10:
    * Add B034: re.sub/subn/split must pass flags/count/maxsplit as
      keyword arguments.
    * Fix a crash and several test failures on Python 3.12, all
      relating to the B907 * check.
    * Declare support for Python 3.12.
* Sun Jun 11 2023 Dirk Müller <dmueller@suse.com>
  - update to 23.6.5:
    * Include tox.ini in MANIFEST.in for sdist.
    * Improve B033 (duplicate set items)
* Thu May 18 2023 Dirk Müller <dmueller@suse.com>
  - update to 23.5.9:
    * Add B033: Detect duplicate items in sets
    * Add B908: Detect assertRauses like contexts only has top
      level statements that could throw
    * Add B028: Allow stacklevel to be explicitly assigned as a
      positional argument
    * Remove more < 3.8 checks / assertions
* Fri Apr 28 2023 Dirk Müller <dmueller@suse.com>
  - update to 23.3.23:
    * flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0
    * This has allowed some more modern AST usage cleanup and less
      CI running etc.
    * B030: Fix crash on certain unusual except handlers (e.g.
      ``except a[0].b:``)
    * B950: now ignores 'noqa' and 'type: ignore' comments.
    * B005: Do not flag when using the ``strip()`` method on an
      imported module.
    * B030: Allow calls and starred expressions in except handlers.
* Wed Feb 15 2023 Dirk Müller <dmueller@suse.com>
  - update to 23.2.13:
    * B906: Add visit_Bytes, visit_Num and visit_Str to
      the list of visit_* functions that are ignored by the B906
      check.
    * B016: Warn when raising f-strings.
    * Add B028: Check for an explicit stacklevel keyword argument
      on the warn method from the warnings module.
    * Add B029: Check when trying to use ``except`` with an empty
      tuple i.e. ``except: ()``.
    * Add B032: Check for possible unintentional type annotations
      instead of assignments.
    * B024: now ignores classes without any methods. (#336)
    * B017: Don't warn when ``pytest.raises()`` has a ``match``
      argument. (#334)
    * B906: Ignore ``visit_`` functions with a ``_fields``
      attribute that can't contain ast.AST subnodes. (#330)
    * Rename B028 to B907, making it optional/opinionated.
    * Add B906: ``visit_`` function with no further calls to a
      ``visit`` function. (#313)
    * Add B028: Suggest ``!r`` when formatted value in f-string is
      surrounded by quotes. (#319)

Files

/usr/lib/python3.14/site-packages/__pycache__/bugbear.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/__pycache__/bugbear.cpython-314.pyc
/usr/lib/python3.14/site-packages/bugbear.py
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/INSTALLER
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/METADATA
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/RECORD
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/REQUESTED
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/WHEEL
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/entry_points.txt
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/licenses
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/licenses/LICENSE
/usr/lib/python3.14/site-packages/flake8_bugbear-26.10.27.dist-info/top_level.txt
/usr/share/doc/packages/python314-flake8-bugbear
/usr/share/doc/packages/python314-flake8-bugbear/README.rst
/usr/share/licenses/python314-flake8-bugbear
/usr/share/licenses/python314-flake8-bugbear/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Thu Nov 12 22:26:22 2026