Accepting request 1079170 from devel:languages:python

- update to 3.12.0:
  * Add rule C418 to check for calls passing a dict literal or
    dict comprehension to ``dict()``.
  * Add rule C419 to check for calls passing a list comprehension
    to ``any()``/``all()``.

OBS-URL: https://build.opensuse.org/request/show/1079170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2023-04-13 13:30:49 +00:00 committed by Git OBS Bridge
commit 6f3d65b696
4 changed files with 13 additions and 4 deletions

View File

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

3
3.12.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7116b86368964306553b7e6b293d21b966a885ed7e79d9a6e6cb85926298ac96
size 16798

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Apr 13 12:27:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.12.0:
* Add rule C418 to check for calls passing a dict literal or
dict comprehension to ``dict()``.
* Add rule C419 to check for calls passing a list comprehension
to ``any()``/``all()``.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 21 15:37:43 UTC 2023 - Dirk Müller <dmueller@suse.com> Tue Mar 21 15:37:43 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,7 +18,7 @@
%define skip_python2 1 %define skip_python2 1
Name: python-flake8-comprehensions Name: python-flake8-comprehensions
Version: 3.11.1 Version: 3.12.0
Release: 0 Release: 0
Summary: A flake8 plugin to help you write better list/set/dict comprehensions Summary: A flake8 plugin to help you write better list/set/dict comprehensions
License: ISC License: ISC