Hello community,

here is the log from the commit of package python-flake8-builtins for 
openSUSE:Factory checked in at 2020-09-17 15:05:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-builtins (Old)
 and      /work/SRC/openSUSE:Factory/.python-flake8-builtins.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flake8-builtins"

Thu Sep 17 15:05:39 2020 rev:4 rq:835163 version:1.5.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-flake8-builtins/python-flake8-builtins.changes
    2020-04-16 23:05:24.859790202 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-builtins.new.4249/python-flake8-builtins.changes
  2020-09-17 15:09:01.928948803 +0200
@@ -1,0 +2,6 @@
+Thu Sep 17 11:10:13 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- update to 1.5.3:
+  - Change messages to have shorter text
+
+-------------------------------------------------------------------

Old:
----
  flake8-builtins-1.5.2.tar.gz

New:
----
  flake8-builtins-1.5.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-flake8-builtins.spec ++++++
--- /var/tmp/diff_new_pack.wYq1lq/_old  2020-09-17 15:09:02.672949509 +0200
+++ /var/tmp/diff_new_pack.wYq1lq/_new  2020-09-17 15:09:02.676949513 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-flake8-builtins
-Version:        1.5.2
+Version:        1.5.3
 Release:        0
 Summary:        Flake8 Builtins plugin
 License:        GPL-2.0-only

++++++ flake8-builtins-1.5.2.tar.gz -> flake8-builtins-1.5.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-builtins-1.5.2/CHANGES.rst 
new/flake8-builtins-1.5.3/CHANGES.rst
--- old/flake8-builtins-1.5.2/CHANGES.rst       2020-03-16 13:16:48.000000000 
+0100
+++ new/flake8-builtins-1.5.3/CHANGES.rst       2020-05-14 12:44:56.000000000 
+0200
@@ -3,6 +3,12 @@
 Changelog
 =========
 
+1.5.3 (2020-05-14)
+------------------
+
+- Change messages to have shorter text
+
+
 1.5.2 (2020-03-16)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-builtins-1.5.2/PKG-INFO 
new/flake8-builtins-1.5.3/PKG-INFO
--- old/flake8-builtins-1.5.2/PKG-INFO  2020-03-16 13:16:48.000000000 +0100
+++ new/flake8-builtins-1.5.3/PKG-INFO  2020-05-14 12:44:57.109896000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: flake8-builtins
-Version: 1.5.2
+Version: 1.5.3
 Summary: Check for python builtins being used as variables or parameters.
 Home-page: https://github.com/gforcada/flake8-builtins
 Author: Gil Forcada
@@ -18,7 +18,9 @@
         ======================
         Check for python builtins being used as variables or parameters.
         
-        Imagine some code like this::
+        Imagine some code like this:
+        
+        .. code:: Python
         
             def max_values(list, list2):
                 max = list[0]
@@ -55,7 +57,9 @@
         
         Example
         -------
-        Given the following code::
+        Given the following code:
+        
+        .. code:: Python
         
             def my_method(object, list, dict):
                 max = 5
@@ -64,12 +68,12 @@
         
         The following warnings are shown (via flake8)::
         
-           test.py:1:15: A002 "object" is used as an argument and thus shadows 
a python builtin, consider renaming the argument
-           test.py:1:23: A002 "list" is used as an argument and thus shadows a 
python builtin, consider renaming the argument
-           test.py:1:29: A002 "dict" is used as an argument and thus shadows a 
python builtin, consider renaming the argument
-           test.py:2:5: A001 "max" is a python builtin and is being shadowed, 
consider renaming the variable
-           test.py:3:5: A001 "min" is a python builtin and is being shadowed, 
consider renaming the variable
-           test.py:4:5: A001 "zip" is a python builtin and is being shadowed, 
consider renaming the variable
+           test.py:1:15: A002 argument "object" is shadowing a python builtin
+           test.py:1:23: A002 argument "list" is shadowing a python builtin
+           test.py:1:29: A002 argument "dict" is shadowing a python builtin
+           test.py:2:5: A001 variable "max" is shadowing a python builtin
+           test.py:3:5: A001 variable "min" is shadowing a python builtin
+           test.py:4:5: A001 variable "zip" is shadowing a python builtin
         
         Install
         -------
@@ -79,7 +83,7 @@
         
         Requirements
         ------------
-        - Python 2.7, 3.5, 3.6
+        - Python 2.7, 3.6, 3.7, 3.8
         - flake8
         
         License
@@ -91,6 +95,12 @@
         Changelog
         =========
         
+        1.5.3 (2020-05-14)
+        ------------------
+        
+        - Change messages to have shorter text
+        
+        
         1.5.2 (2020-03-16)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-builtins-1.5.2/README.rst 
new/flake8-builtins-1.5.3/README.rst
--- old/flake8-builtins-1.5.2/README.rst        2020-03-16 13:16:48.000000000 
+0100
+++ new/flake8-builtins-1.5.3/README.rst        2020-05-14 12:44:56.000000000 
+0200
@@ -10,7 +10,9 @@
 ======================
 Check for python builtins being used as variables or parameters.
 
-Imagine some code like this::
+Imagine some code like this:
+
+.. code:: Python
 
     def max_values(list, list2):
         max = list[0]
@@ -47,7 +49,9 @@
 
 Example
 -------
-Given the following code::
+Given the following code:
+
+.. code:: Python
 
     def my_method(object, list, dict):
         max = 5
@@ -56,12 +60,12 @@
 
 The following warnings are shown (via flake8)::
 
-   test.py:1:15: A002 "object" is used as an argument and thus shadows a 
python builtin, consider renaming the argument
-   test.py:1:23: A002 "list" is used as an argument and thus shadows a python 
builtin, consider renaming the argument
-   test.py:1:29: A002 "dict" is used as an argument and thus shadows a python 
builtin, consider renaming the argument
-   test.py:2:5: A001 "max" is a python builtin and is being shadowed, consider 
renaming the variable
-   test.py:3:5: A001 "min" is a python builtin and is being shadowed, consider 
renaming the variable
-   test.py:4:5: A001 "zip" is a python builtin and is being shadowed, consider 
renaming the variable
+   test.py:1:15: A002 argument "object" is shadowing a python builtin
+   test.py:1:23: A002 argument "list" is shadowing a python builtin
+   test.py:1:29: A002 argument "dict" is shadowing a python builtin
+   test.py:2:5: A001 variable "max" is shadowing a python builtin
+   test.py:3:5: A001 variable "min" is shadowing a python builtin
+   test.py:4:5: A001 variable "zip" is shadowing a python builtin
 
 Install
 -------
@@ -71,7 +75,7 @@
 
 Requirements
 ------------
-- Python 2.7, 3.5, 3.6
+- Python 2.7, 3.6, 3.7, 3.8
 - flake8
 
 License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/flake8-builtins-1.5.2/flake8_builtins.egg-info/PKG-INFO 
new/flake8-builtins-1.5.3/flake8_builtins.egg-info/PKG-INFO
--- old/flake8-builtins-1.5.2/flake8_builtins.egg-info/PKG-INFO 2020-03-16 
13:16:48.000000000 +0100
+++ new/flake8-builtins-1.5.3/flake8_builtins.egg-info/PKG-INFO 2020-05-14 
12:44:57.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: flake8-builtins
-Version: 1.5.2
+Version: 1.5.3
 Summary: Check for python builtins being used as variables or parameters.
 Home-page: https://github.com/gforcada/flake8-builtins
 Author: Gil Forcada
@@ -18,7 +18,9 @@
         ======================
         Check for python builtins being used as variables or parameters.
         
-        Imagine some code like this::
+        Imagine some code like this:
+        
+        .. code:: Python
         
             def max_values(list, list2):
                 max = list[0]
@@ -55,7 +57,9 @@
         
         Example
         -------
-        Given the following code::
+        Given the following code:
+        
+        .. code:: Python
         
             def my_method(object, list, dict):
                 max = 5
@@ -64,12 +68,12 @@
         
         The following warnings are shown (via flake8)::
         
-           test.py:1:15: A002 "object" is used as an argument and thus shadows 
a python builtin, consider renaming the argument
-           test.py:1:23: A002 "list" is used as an argument and thus shadows a 
python builtin, consider renaming the argument
-           test.py:1:29: A002 "dict" is used as an argument and thus shadows a 
python builtin, consider renaming the argument
-           test.py:2:5: A001 "max" is a python builtin and is being shadowed, 
consider renaming the variable
-           test.py:3:5: A001 "min" is a python builtin and is being shadowed, 
consider renaming the variable
-           test.py:4:5: A001 "zip" is a python builtin and is being shadowed, 
consider renaming the variable
+           test.py:1:15: A002 argument "object" is shadowing a python builtin
+           test.py:1:23: A002 argument "list" is shadowing a python builtin
+           test.py:1:29: A002 argument "dict" is shadowing a python builtin
+           test.py:2:5: A001 variable "max" is shadowing a python builtin
+           test.py:3:5: A001 variable "min" is shadowing a python builtin
+           test.py:4:5: A001 variable "zip" is shadowing a python builtin
         
         Install
         -------
@@ -79,7 +83,7 @@
         
         Requirements
         ------------
-        - Python 2.7, 3.5, 3.6
+        - Python 2.7, 3.6, 3.7, 3.8
         - flake8
         
         License
@@ -91,6 +95,12 @@
         Changelog
         =========
         
+        1.5.3 (2020-05-14)
+        ------------------
+        
+        - Change messages to have shorter text
+        
+        
         1.5.2 (2020-03-16)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-builtins-1.5.2/flake8_builtins.py 
new/flake8-builtins-1.5.3/flake8_builtins.py
--- old/flake8-builtins-1.5.2/flake8_builtins.py        2020-03-16 
13:16:48.000000000 +0100
+++ new/flake8-builtins-1.5.3/flake8_builtins.py        2020-05-14 
12:44:56.000000000 +0200
@@ -49,12 +49,9 @@
 class BuiltinsChecker(object):
     name = 'flake8_builtins'
     version = '1.5.2'
-    assign_msg = 'A001 "{0}" is a python builtin and is being shadowed, ' \
-                 'consider renaming the variable'
-    argument_msg = 'A002 "{0}" is used as an argument and thus shadows a ' \
-                   'python builtin, consider renaming the argument'
-    class_attribute_msg = 'A003 "{0}" is a python builtin, consider ' \
-                          'renaming the class attribute'
+    assign_msg = 'A001 variable "{0}" is shadowing a python builtin'
+    argument_msg = 'A002 argument "{0}" is shadowing a python builtin'
+    class_attribute_msg = 'A003 class attribute "{0}" is shadowing a python 
builtin'
 
     def __init__(self, tree, filename):
         self.tree = tree
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-builtins-1.5.2/run_tests.py 
new/flake8-builtins-1.5.3/run_tests.py
--- old/flake8-builtins-1.5.2/run_tests.py      2020-03-16 13:16:48.000000000 
+0100
+++ new/flake8-builtins-1.5.3/run_tests.py      2020-05-14 12:44:56.000000000 
+0200
@@ -579,4 +579,5 @@
             raise
         tree = ast.parse(source)
         checker = BuiltinsChecker(tree, '/home/script.py')
-        assert isinstance([c for c in checker.run()], list)
+        for c in checker.run():
+            assert isinstance(c, list)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-builtins-1.5.2/setup.py 
new/flake8-builtins-1.5.3/setup.py
--- old/flake8-builtins-1.5.2/setup.py  2020-03-16 13:16:48.000000000 +0100
+++ new/flake8-builtins-1.5.3/setup.py  2020-05-14 12:44:56.000000000 +0200
@@ -14,7 +14,7 @@
 
 setup(
     name='flake8-builtins',
-    version='1.5.2',
+    version='1.5.3',
     description=short_description,
     long_description=long_description,
     # Get more from https://pypi.org/pypi?%3Aaction=list_classifiers


Reply via email to