Accepting request 755167 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/755167 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-comprehensions?expand=0&rev=3
This commit is contained in:
commit
ee576cd1a9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:19f3fd0386d61a89d897218d129ef852ad60ccedc1fbfe5167b7cc678a052755
|
||||
size 12000
|
3
3.1.4.tar.gz
Normal file
3
3.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:322de54ae0ca454a2734a3db79da08b7a8a0821ec6044b8fd697d2bb7f74f717
|
||||
size 16926
|
@ -1,3 +1,58 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 7 17:47:28 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* be more specific in %files section
|
||||
|
||||
- update to version 3.1.4:
|
||||
* Remove the tuple/unpacking check from C416 to prevent false
|
||||
positives where the type of the iterable is changed from some
|
||||
iterable to a tuple.
|
||||
|
||||
- changes from version 3.1.3:
|
||||
* Ensure the fix for false positives in C416 rule for asynchronous
|
||||
comprehensions runs on Python 3.6 too.
|
||||
|
||||
- changes from version 3.1.2:
|
||||
* Fix false positives in C416 rule for list comprehensions returning
|
||||
tuples.
|
||||
|
||||
- changes from version 3.1.1:
|
||||
* Fix false positives in C416 rule for asynchronous comprehensions.
|
||||
|
||||
- changes from version 3.1.0:
|
||||
* Update Python support to 3.5-3.8.
|
||||
* Fix false positives for C404 for list comprehensions not directly
|
||||
creating tuples.
|
||||
* Add C413 rule that checks for unnecessary use of list() or
|
||||
reversed() around sorted().
|
||||
* Add C414 rule that checks for unnecessary use of the following:
|
||||
+ list(), reversed(), sorted(), or tuple() within set or sorted()
|
||||
+ list() or tuple() within list() or tuple()
|
||||
+ set() within set
|
||||
* Add C415 rule that checks for unnecessary reversal of an iterable
|
||||
via subscript within reversed(), set(), or sorted().
|
||||
* Add C416 rule that checks for unnecessary list or set
|
||||
comprehensions that can be rewritten using list() or set().
|
||||
|
||||
- changes from version 3.0.1:
|
||||
* Fix version display on flake8 --version (removing dependency on
|
||||
cached-property). Thanks to Jon Dufresne.
|
||||
|
||||
- changes from version 3.0.0:
|
||||
* Update Flake8 support to 3.0+ only. 3.0.0 was released in 2016 and
|
||||
the plugin hasn't been tested with it since.
|
||||
|
||||
- changes from version 2.3.0:
|
||||
* Converted setuptools metadata to configuration file. This meant
|
||||
removing the __version__ attribute from the package. If you want
|
||||
to inspect the installed version, use
|
||||
importlib.metadata.version("flake8-comprehensions") (docs /
|
||||
backport).
|
||||
* Add dependencies on cached-property and importlib-metadata.
|
||||
* Fix false negatives in C407 for cases when enumerate and sum() are
|
||||
passed more than one argument.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 07:29:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-comprehensions
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-flake8-comprehensions
|
||||
Version: 2.2.0
|
||||
Version: 3.1.4
|
||||
Release: 0
|
||||
Summary: A flake8 plugin to help you write better list/set/dict comprehensions
|
||||
License: ISC
|
||||
@ -57,6 +57,8 @@ A flake8 plugin that helps you write better list/set/dict comprehensions.
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/flake8_comprehensions.py
|
||||
%{python_sitelib}/flake8_comprehensions-%{version}-py*.egg-info
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user