commit python-flake8-comprehensions for openSUSE:Factory

2020-07-13 Thread root
Hello community,

here is the log from the commit of package python-flake8-comprehensions for 
openSUSE:Factory checked in at 2020-07-14 07:58:23

Comparing /work/SRC/openSUSE:Factory/python-flake8-comprehensions (Old)
 and  /work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.3060 
(New)


Package is "python-flake8-comprehensions"

Tue Jul 14 07:58:23 2020 rev:5 rq:820509 version:3.2.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-flake8-comprehensions/python-flake8-comprehensions.changes
2020-02-11 22:24:29.763537682 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.3060/python-flake8-comprehensions.changes
  2020-07-14 07:59:30.341831616 +0200
@@ -1,0 +2,7 @@
+Sat Jul 11 18:38:19 UTC 2020 - Arun Persaud 
+
+- update to version 3.2.3:
+  * Made C408 only apply when no arguments are passed to
+dict/list/tuple.
+
+---

Old:

  3.2.2.tar.gz

New:

  3.2.3.tar.gz



Other differences:
--
++ python-flake8-comprehensions.spec ++
--- /var/tmp/diff_new_pack.1PKjMS/_old  2020-07-14 07:59:31.049833909 +0200
+++ /var/tmp/diff_new_pack.1PKjMS/_new  2020-07-14 07:59:31.049833909 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-flake8-comprehensions
-Version:3.2.2
+Version:3.2.3
 Release:0
 Summary:A flake8 plugin to help you write better list/set/dict 
comprehensions
 License:ISC

++ 3.2.2.tar.gz -> 3.2.3.tar.gz ++
 2075 lines of diff (skipped)




commit python-flake8-comprehensions for openSUSE:Factory

2020-02-11 Thread root
Hello community,

here is the log from the commit of package python-flake8-comprehensions for 
openSUSE:Factory checked in at 2020-02-11 22:23:50

Comparing /work/SRC/openSUSE:Factory/python-flake8-comprehensions (Old)
 and  /work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.26092 
(New)


Package is "python-flake8-comprehensions"

Tue Feb 11 22:23:50 2020 rev:4 rq:772523 version:3.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-flake8-comprehensions/python-flake8-comprehensions.changes
2019-12-09 21:36:00.934079434 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.26092/python-flake8-comprehensions.changes
 2020-02-11 22:24:29.763537682 +0100
@@ -1,0 +2,18 @@
+Sun Feb  9 16:53:49 UTC 2020 - Arun Persaud 
+
+- specfile:
+  * update copyright year
+
+- update to version 3.2.2:
+  * Remove check for dict comprehensions in rule C407 as it would also
+change the results for certain builtins such as sum().
+
+- changes from version 3.2.1:
+  * Remove check for set comprehensions in rule C407 as it would
+change the results for certain builtins such as sum().
+
+- changes from version 3.2.0:
+  * Add filter and map to rule C407.
+  * Check for dict and set comprehensions in rules C407 and C412.
+
+---

Old:

  3.1.4.tar.gz

New:

  3.2.2.tar.gz



Other differences:
--
++ python-flake8-comprehensions.spec ++
--- /var/tmp/diff_new_pack.ndoUlX/_old  2020-02-11 22:24:30.159537899 +0100
+++ /var/tmp/diff_new_pack.ndoUlX/_new  2020-02-11 22:24:30.159537899 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flake8-comprehensions
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 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:3.1.4
+Version:3.2.2
 Release:0
 Summary:A flake8 plugin to help you write better list/set/dict 
comprehensions
 License:ISC

++ 3.1.4.tar.gz -> 3.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-comprehensions-3.1.4/HISTORY.rst 
new/flake8-comprehensions-3.2.2/HISTORY.rst
--- old/flake8-comprehensions-3.1.4/HISTORY.rst 2019-11-20 18:05:01.0 
+0100
+++ new/flake8-comprehensions-3.2.2/HISTORY.rst 2020-01-20 16:21:56.0 
+0100
@@ -2,6 +2,24 @@
 History
 ===
 
+3.2.2 (2020-01-20)
+--
+
+* Remove check for dict comprehensions in rule C407 as it would also change the
+  results for certain builtins such as ``sum()``.
+
+3.2.1 (2020-01-20)
+--
+
+* Remove check for set comprehensions in rule C407 as it would change the
+  results for certain builtins such as ``sum()``.
+
+3.2.0 (2020-01-20)
+--
+
+* Add ``filter`` and ``map`` to rule C407.
+* Check for dict and set comprehensions in rules C407 and C412.
+
 3.1.4 (2019-11-20)
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-comprehensions-3.1.4/LICENSE 
new/flake8-comprehensions-3.2.2/LICENSE
--- old/flake8-comprehensions-3.1.4/LICENSE 2019-11-20 18:05:01.0 
+0100
+++ new/flake8-comprehensions-3.2.2/LICENSE 2020-01-20 16:21:56.0 
+0100
@@ -1,6 +1,6 @@
 ISC License
 
-Copyright (c) 2017-2019 Adam Johnson
+Copyright (c) 2017-2020 Adam Johnson
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-comprehensions-3.1.4/README.rst 
new/flake8-comprehensions-3.2.2/README.rst
--- old/flake8-comprehensions-3.1.4/README.rst  2019-11-20 18:05:01.0 
+0100
+++ new/flake8-comprehensions-3.2.2/README.rst  2020-01-20 16:21:56.0 
+0100
@@ -23,7 +23,7 @@
 
  pip install flake8-comprehensions
 
-Python 3.5-3.8 supported.
+Python 3.5 to 3.8 supported.
 
 When installed it will automatically be run as part of ``flake8``; you can
 check it is being picked up with:
@@ -47,12 +47,12 @@
 C404 Unnecessary list comprehension - rewrite as a dict comprehension.
 C405 Unnecessary (list/tuple) literal - rewrite as a set literal.
 C406 Unnecessary (list/tuple) literal - rewrite as a dict literal.
-C407 Unnecessary list comprehension - '' can take a generator.
+C407 Unnecessary (dict/list) comprehension - '' can take a generator.
 C408 Unnecessary (dict/list/tuple) call - rewrite as a literal.
 C409 Unnecessary (list/tuple) passed to tuple() - (remove the out

commit python-flake8-comprehensions for openSUSE:Factory

2019-12-09 Thread root
Hello community,

here is the log from the commit of package python-flake8-comprehensions for 
openSUSE:Factory checked in at 2019-12-09 21:35:42

Comparing /work/SRC/openSUSE:Factory/python-flake8-comprehensions (Old)
 and  /work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.4691 
(New)


Package is "python-flake8-comprehensions"

Mon Dec  9 21:35:42 2019 rev:3 rq:755167 version:3.1.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-flake8-comprehensions/python-flake8-comprehensions.changes
2019-09-13 15:04:16.317270083 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.4691/python-flake8-comprehensions.changes
  2019-12-09 21:36:00.934079434 +0100
@@ -1,0 +2,55 @@
+Sat Dec  7 17:47:28 UTC 2019 - Arun Persaud 
+
+- 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.
+
+---

Old:

  2.2.0.tar.gz

New:

  3.1.4.tar.gz



Other differences:
--
++ python-flake8-comprehensions.spec ++
--- /var/tmp/diff_new_pack.nQIIFq/_old  2019-12-09 21:36:01.810079089 +0100
+++ /var/tmp/diff_new_pack.nQIIFq/_new  2019-12-09 21:36:01.814079087 +0100
@@ -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 @@
 %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

++ 2.2.0.tar.gz -> 3.1.4.tar.gz ++
 3288 lines of diff (skipped)




commit python-flake8-comprehensions for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package python-flake8-comprehensions for 
openSUSE:Factory checked in at 2019-09-13 15:02:44

Comparing /work/SRC/openSUSE:Factory/python-flake8-comprehensions (Old)
 and  /work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.7948 
(New)


Package is "python-flake8-comprehensions"

Fri Sep 13 15:02:44 2019 rev:2 rq:730532 version:2.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-flake8-comprehensions/python-flake8-comprehensions.changes
2019-08-19 21:26:54.148652220 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.7948/python-flake8-comprehensions.changes
  2019-09-13 15:04:16.317270083 +0200
@@ -1,0 +2,7 @@
+Fri Sep 13 07:29:08 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.2.0:
+  * Update Python support to 3.5-3.7, as 3.4 has reached its end of life.
+  * C412 rule that complains about using list comprehension with in.
+
+---

Old:

  2.1.0.tar.gz

New:

  2.2.0.tar.gz



Other differences:
--
++ python-flake8-comprehensions.spec ++
--- /var/tmp/diff_new_pack.MPKC5r/_old  2019-09-13 15:04:16.805269980 +0200
+++ /var/tmp/diff_new_pack.MPKC5r/_new  2019-09-13 15:04:16.809269979 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-flake8-comprehensions
-Version:2.1.0
+Version:2.2.0
 Release:0
 Summary:A flake8 plugin to help you write better list/set/dict 
comprehensions
 License:ISC

++ 2.1.0.tar.gz -> 2.2.0.tar.gz ++
 1827 lines of diff (skipped)