Hello community,

here is the log from the commit of package python3-pycodestyle for 
openSUSE:Factory checked in at 2016-11-15 18:01:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pycodestyle (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pycodestyle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pycodestyle"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pycodestyle/python3-pycodestyle.changes  
2016-11-07 12:24:09.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python3-pycodestyle.new/python3-pycodestyle.changes 
    2016-11-15 18:01:50.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Nov 15 03:17:32 UTC 2016 - a...@gmx.de
+
+- update to version 2.2.0:
+  * Announcements:
+    + Added Make target to obtain proper tarball file permissions;
+      #599
+  * Bugs:
+    + Fixed E305 regression caused by #400; #593
+
+-------------------------------------------------------------------

Old:
----
  pycodestyle-2.1.0.tar.gz

New:
----
  pycodestyle-2.2.0.tar.gz

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

Other differences:
------------------
++++++ python3-pycodestyle.spec ++++++
--- /var/tmp/diff_new_pack.9maUbj/_old  2016-11-15 18:01:51.000000000 +0100
+++ /var/tmp/diff_new_pack.9maUbj/_new  2016-11-15 18:01:51.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python3-pycodestyle
-Version:        2.1.0
+Version:        2.2.0
 Release:        0
 Url:            https://github.com/PyCQA/pycodestyle
 Summary:        Python style guide checker - formery python3-pep8

++++++ pycodestyle-2.1.0.tar.gz -> pycodestyle-2.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycodestyle-2.1.0/CHANGES.txt 
new/pycodestyle-2.2.0/CHANGES.txt
--- old/pycodestyle-2.1.0/CHANGES.txt   2016-11-04 16:00:31.000000000 +0100
+++ new/pycodestyle-2.2.0/CHANGES.txt   2016-11-14 19:40:58.000000000 +0100
@@ -1,7 +1,18 @@
 Changelog
 =========
 
-2.1.0 (unreleased)
+2.2.0 (2016-11-14)
+------------------
+
+Announcements:
+
+* Added Make target to obtain proper tarball file permissions; #599
+
+Bugs:
+
+* Fixed E305 regression caused by #400; #593
+
+2.1.0 (2016-11-04)
 ------------------
 
 Announcements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycodestyle-2.1.0/PKG-INFO 
new/pycodestyle-2.2.0/PKG-INFO
--- old/pycodestyle-2.1.0/PKG-INFO      2016-11-04 16:46:05.000000000 +0100
+++ new/pycodestyle-2.2.0/PKG-INFO      2016-11-14 19:41:50.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pycodestyle
-Version: 2.1.0
+Version: 2.2.0
 Summary: Python style guide checker
 Home-page: https://pycodestyle.readthedocs.io/
 Author: Ian Lee
@@ -119,7 +119,18 @@
         Changelog
         =========
         
-        2.1.0 (unreleased)
+        2.2.0 (2016-11-14)
+        ------------------
+        
+        Announcements:
+        
+        * Added Make target to obtain proper tarball file permissions; #599
+        
+        Bugs:
+        
+        * Fixed E305 regression caused by #400; #593
+        
+        2.1.0 (2016-11-04)
         ------------------
         
         Announcements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycodestyle-2.1.0/docs/intro.rst 
new/pycodestyle-2.2.0/docs/intro.rst
--- old/pycodestyle-2.1.0/docs/intro.rst        2016-07-09 18:58:23.000000000 
+0200
+++ new/pycodestyle-2.2.0/docs/intro.rst        2016-11-14 19:34:56.000000000 
+0100
@@ -324,6 +324,8 @@
 
+------------+----------------------------------------------------------------------+
 | E305       | expected 2 blank lines after end of function or class           
     |
 
+------------+----------------------------------------------------------------------+
+| E306       | expected 1 blank line before a nested definition                
     |
++------------+----------------------------------------------------------------------+
 
+------------+----------------------------------------------------------------------+
 | **E4**     | *Import*                                                        
     |
 
+------------+----------------------------------------------------------------------+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycodestyle-2.1.0/pycodestyle.egg-info/PKG-INFO 
new/pycodestyle-2.2.0/pycodestyle.egg-info/PKG-INFO
--- old/pycodestyle-2.1.0/pycodestyle.egg-info/PKG-INFO 2016-11-04 
16:46:05.000000000 +0100
+++ new/pycodestyle-2.2.0/pycodestyle.egg-info/PKG-INFO 2016-11-14 
19:41:50.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pycodestyle
-Version: 2.1.0
+Version: 2.2.0
 Summary: Python style guide checker
 Home-page: https://pycodestyle.readthedocs.io/
 Author: Ian Lee
@@ -119,7 +119,18 @@
         Changelog
         =========
         
-        2.1.0 (unreleased)
+        2.2.0 (2016-11-14)
+        ------------------
+        
+        Announcements:
+        
+        * Added Make target to obtain proper tarball file permissions; #599
+        
+        Bugs:
+        
+        * Fixed E305 regression caused by #400; #593
+        
+        2.1.0 (2016-11-04)
         ------------------
         
         Announcements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycodestyle-2.1.0/pycodestyle.py 
new/pycodestyle-2.2.0/pycodestyle.py
--- old/pycodestyle-2.1.0/pycodestyle.py        2016-11-04 16:41:11.000000000 
+0100
+++ new/pycodestyle-2.2.0/pycodestyle.py        2016-11-14 19:38:29.000000000 
+0100
@@ -66,7 +66,7 @@
 except ImportError:
     from ConfigParser import RawConfigParser
 
-__version__ = '2.1.0'
+__version__ = '2.2.0'
 
 DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox'
 DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704,W503'
@@ -254,6 +254,8 @@
     Okay: def a():\n    pass\n\n\ndef b():\n    pass
     Okay: def a():\n    pass\n\n\nasync def b():\n    pass
     Okay: def a():\n    pass\n\n\n# Foo\n# Bar\n\ndef b():\n    pass
+    Okay: default = 1\nfoo = 1
+    Okay: classify = 1\nfoo = 1
 
     E301: class Foo:\n    b = 0\n    def bar():\n        pass
     E302: def a():\n    pass\n\ndef b(n):\n    pass
@@ -291,7 +293,7 @@
         elif blank_before != 2:
             yield 0, "E302 expected 2 blank lines, found %d" % blank_before
     elif (logical_line and not indent_level and blank_before != 2 and
-          previous_unindented_logical_line.startswith(('def', 'class'))):
+          previous_unindented_logical_line.startswith(('def ', 'class '))):
         yield 0, "E305 expected 2 blank lines after " \
             "class or function definition, found %d" % blank_before
 


Reply via email to