15
0

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-pyi?expand=0&rev=23
This commit is contained in:
2024-01-06 17:20:35 +00:00
committed by Git OBS Bridge
parent 7530a289d2
commit 4b1b9a0a59
4 changed files with 23 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-pyi
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-flake8-pyi
Version: 23.11.0
Version: 24.1.0
Release: 0
Summary: A plugin for flake8 to enable linting .pyi files
License: MIT