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

python313-flake8-pyi-25.5.0-1.2 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python313-flake8-pyi Distribution: openSUSE Tumbleweed
Version: 25.5.0 Vendor: openSUSE
Release: 1.2 Build date: Fri Sep 5 17:02:05 2025
Group: Development/Languages/Python Build host: reproducible
Size: 336252 Source RPM: python-flake8-pyi-25.5.0-1.2.src.rpm
Packager: http://bugs.opensuse.org
Url: https://github.com/ambv/flake8-pyi
Summary: A plugin for flake8 to enable linting .pyi files
A plugin for Flake8 that provides specializations for type hinting stub
files. Especially interesting for linting typeshed.

Provides

Requires

License

MIT

Changelog

* Fri Sep 05 2025 Markéta Machová <mmachova@suse.com>
  - update to 25.5.0
    * Introduce Y067: Don't use Incomplete | None = None.
    * Introduce Y091: Protocol method parameters should not be
      positional-or-keyword.
    * Y011/Y015 will now allow all defaults that include an attribute
      access, for example math.inf or enum members.
    * Development-only dependencies are now declared using dependency
      groups rather than optional dependencies.
    * The plugin now exists as a flake8_pyi package rather than a
      single pyi.py file.
    * Declare support for Python 3.14
  - Add fix-tests.patch cleaning up the code for old detritus,
    which broke tests.
* Tue Oct 29 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.9.0:
    * Don't emit Y053 for long strings inside `Literal` slices or
    * metadata strings inside `Annotated` slices.
    * `flake8-pyi` no longer supports being run using Python 3.8.
      As a result, it not longer depends on the third-party
    `ast_decompiler` package.
* Sat Jun 15 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.6.0:
    * Allow the use of `typing_extensions.TypeVar` in stubs.
    * `typing_extensions.TypeVar` has the *default* parameter,
      which only exists on Python 3.13+ when using `typing.TypeVar`.
    * Reduce false positives from Y052 in relation to enum
      subclasses.
    * Declare support for Python 3.13
* Sat Apr 20 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.4.1:
    * Y066: When using if/else with `sys.version_info`,
      put the code for new Python versions first.
    * Fix Y026 false positive: allow simple assignment to `None` in
      class scopes if the class is known to be an enum class.
* Sun Apr 07 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.3.1:
    * Y064: Use simpler syntax to define final literal types.
    * For example, use `x: Final = 42` instead of `x:
      Final[Literal[42]]`
    * Y065: Don't use bare `Incomplete` in parameter and return
      annotations.
    * Y090: Fix false positive for `tuple[Unpack[Ts]]`.
* Mon Mar 25 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.3.0:
    * Y063: Use PEP 570 syntax to mark positional-only arguments,
      rather than the older Python 3.7-compatible syntax
      described in PEP 484.
* Sat Jan 06 2024 Dirk Müller <dmueller@suse.com>
  - update to 24.1.0:
    * Y062: Disallow duplicate elements inside `Literal[]` slices.
    * Support flake8>=7.0.0
    * Y061 is no longer emitted in situations where Y062 would also
      be emitted.
    * Improve error message for Y060.
    * Y023 now bans more imports from `typing_extensions` now that
      typeshed has dropped support for Python 3.7.
    * Y016: Fix false positive if a method had positional-only
      parameters (using PEP 570 syntax and the first
      positional-or-keyword parameter following the positional-only
      parameters used a custom TypeVar (see #455).
    * Y046: Fix false negative where an unused protocol would not
      be detected if the protocol was generic.
* Tue Dec 05 2023 Dirk Müller <dmueller@suse.com>
  - update to 23.11.0:
    * Y058: Use `Iterator` rather than `Generator` as the return
      value for simple `__iter__` methods, and `AsyncIterator` rather
      than `AsyncGenerator` as the return value for simple `__aiter__`
      methods.
    * Y059: `Generic[]` should always be the last base class, if it
      is present in the bases of a class.
    * Y060, which flags redundant inheritance from `Generic[]`.
    * Y061: Do not use `None` inside a `Literal[]` slice.
    * For example, use `Literal["foo"] | None` instead of
      `Literal["foo", None]`.
    * Y022 and Y037 now flag more imports from `typing_extensions`.
    * Y034 now attempts to avoid flagging methods inside classes
      that inherit from `builtins.type`, `abc.ABCMeta` and/or
      `enum.EnumMeta`.  Classes that have one or more of these as
      bases are metaclasses, and PEP 673 forbids the use of
      `typing(_extensions).Self` for metaclasses.
    * Attempting to import `typing_extensions.Text` now causes Y039
      to be emitted rather than Y023.
    * Y053 will no longer be emitted for the argument to
      `@typing_extensions.deprecated`.
    * Introduce Y090, which warns if you have an annotation such as
      `tuple[int]` or `Tuple[int]`. These mean "a tuple of length 1,
      in which the sole element is of type `int`". This is sometimes
      what you want, but more usually you'll want `tuple[int, ...]`,
      which means "a tuple of arbitrary (possibly 0) length, in
      which all elements are of type `int`".
    * Y011 now ignores `sentinel` and `_typeshed.sentinel` in
      default values.
* Fri Aug 25 2023 Markéta Machová <mmachova@suse.com>
  - Update to 23.6.0
    * Y011/Y014/Y015: Allow math constants math.inf, math.nan, math.e,
      math.pi, math.tau, and their negatives in default values. Some
      other semantically equivalent values, such as x = inf (from math
      import inf), or x = np.inf (import numpy as np), should be rewritten
      to x = math.inf.
    * Y053: Disallow string or bytes literals with length >50 characters.
      Previously this rule only applied to parameter default values;
      it now applies everywhere.
    * Y054: Disallow numeric literals with a string representation >10
      characters long. Previously this rule only applied to parameter
      default values; it now applies everywhere.
    * Y055: Unions of the form type[X] | type[Y] can be simplified to type[X | Y].
    * The way in which flake8-pyi modifies pyflakes runs has been improved.
    * Introduce Y056: Various type checkers have different levels of support
      for method calls on __all__. Use __all__ += ["foo", "bar"] instead,
      as this is known to be supported by all major type checkers.
    * Support Python 3.12
    * Support PEP 695 syntax for declaring type aliases
    * Introduce Y057: Do not use typing.ByteString or collections.abc.ByteString.
    * flake8-pyi no longer supports being run on Python 3.7.
    * flake8-pyi no longer supports being run with flake8 <v6.
* Mon Mar 06 2023 Daniel Garcia <daniel.garcia@suse.com>
  - Add set-tests-python-path.patch to fix tests inside osc build
    environment, running the flake8 process with shell=True and forcing
    the PYTHONPATH.
  - Update to 23.1.2:
    * Y011/Y014/Y015: Increase the maximum character length of literal
      numbers in default values from 7 to 10, allowing hexadecimal
      representation of 32-bit integers. Contributed by Avasam.
  - 23.1.1
    New error codes:
    * Y052: Disallow default values in global or class namespaces where
      the assignment does not have a type annotation. Stubs should be
      explicit about the type of all variables in the stub; without type
      annotations, the type checker is forced to make inferences, which
      may have unpredictable consequences. Enum members are excluded
      from this check, as are various special assignments such as
      __all__ and __match_args__.
    Other changes:
    * Disallow numeric default values where len(str(default)) > 7. If a
      function has a default value where the string representation is
      greater than 7 characters, it is likely to be an implementation
      detail or a constant that varies depending on the system you're
      running on, such as sys.maxsize.
    * Disallow str or bytes defaults where the default is >50 characters
      long, for similar reasons.
    * Allow ast.Attribute nodes as default values for a small number of
      special cases, such as sys.maxsize and sys.executable.
    * Fewer Y020 false positives are now emitted when encountering
      default values in stub files.
  - 23.1.0
    Bugfixes:
    * Do not emit Y020 (quoted annotations) for strings in parameter defaults.
    * Fix checking of defaults for functions with positional-only parameters.
    Other changes:
    * Modify Y036 so that _typeshed.Unused is allowed as an annotation
      for parameters in __(a)exit__ methods. Contributed by Avasam
    * Several changes have been made to error codes relating to imports:
    - The Y027 error code has been removed.
    - All errors that used to result in Y027 being emitted now result
      in Y022 being emitted instead.
    - Some errors that used to result in Y023 being emitted now result
      in Y022 being emitted instead.
    - typing.Match and typing.Pattern have been added to the list of
      imports banned by Y022. Use re.Match and re.Pattern instead.
    * flake8-pyi no longer supports stub files that aim to support
      Python 2. If your stubs need to support Python 2, pin flake8-pyi
      to 22.11.0 or lower.
    * Y011, Y014 and Y015 have all been significantly relaxed. None,
      bools, ints, floats, complex numbers, strings and bytes are all
      now allowed as default values for parameter annotations or
      assignments.
    * Hatchling is now used as the build backend. This should have
      minimal, if any, user-facing impact.

Files

/usr/lib/python3.13/site-packages/flake8_pyi
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/METADATA
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/RECORD
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/WHEEL
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/entry_points.txt
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/licenses
/usr/lib/python3.13/site-packages/flake8_pyi-25.5.0.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/flake8_pyi/__init__.py
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/checker.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/checker.cpython-313.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/errors.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/errors.cpython-313.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/visitor.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/__pycache__/visitor.cpython-313.pyc
/usr/lib/python3.13/site-packages/flake8_pyi/checker.py
/usr/lib/python3.13/site-packages/flake8_pyi/errors.py
/usr/lib/python3.13/site-packages/flake8_pyi/visitor.py
/usr/share/doc/packages/python313-flake8-pyi
/usr/share/doc/packages/python313-flake8-pyi/README.md
/usr/share/licenses/python313-flake8-pyi
/usr/share/licenses/python313-flake8-pyi/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Thu Mar 5 23:10:09 2026