15
0

Accepting request 1137279 from devel:languages:python

- 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/request/show/1137279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-pyi?expand=0&rev=12
This commit is contained in:
2024-01-06 17:34:58 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93de2acdd34db508c87e7b5c5b431108e15dfd349a162ab194b9ac49f3b99103
size 56425

3
flake8_pyi-24.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89c63c70bddb948398620d20b8c02acf949d6123ecaaae262b712a40a4c94093
size 58329

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat Jan 6 17:19:24 UTC 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 5 21:07:25 UTC 2023 - Dirk Müller <dmueller@suse.com>

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