[Python-modules-commits] [pep8-naming] 01/04: Imported Upstream version 0.3.3

Daniel Stender danstender-guest at moszumanska.debian.org
Wed Jul 1 08:56:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

danstender-guest pushed a commit to branch master
in repository pep8-naming.

commit 74a3bc37435a44dc27376b4ec54a574cace0ea1f
Author: Daniel Stender <debian at danielstender.com>
Date:   Wed Jul 1 10:49:17 2015 +0200

    Imported Upstream version 0.3.3
---
 PKG-INFO                      | 7 ++++++-
 README.rst                    | 5 +++++
 pep8_naming.egg-info/PKG-INFO | 7 ++++++-
 pep8ext_naming.py             | 5 +++--
 setup.cfg                     | 2 +-
 5 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index c26bec4..30fca9b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pep8-naming
-Version: 0.3.2
+Version: 0.3.3
 Summary: Check PEP-8 naming conventions, plugin for flake8
 Home-page: https://github.com/flintwork/pep8-naming
 Author: Florent Xicluna
@@ -77,6 +77,11 @@ Description: PEP-8 Naming Conventions
         Changes
         -------
         
+        0.3.3 - 2015-06-30
+        ``````````````````
+        
+        * Fix bug where ignored names were not properly split into a list.
+        
         0.3.2 - 2015-06-14
         ``````````````````
         
diff --git a/README.rst b/README.rst
index 4626e94..9e10be0 100644
--- a/README.rst
+++ b/README.rst
@@ -69,6 +69,11 @@ These error codes are emitted:
 Changes
 -------
 
+0.3.3 - 2015-06-30
+``````````````````
+
+* Fix bug where ignored names were not properly split into a list.
+
 0.3.2 - 2015-06-14
 ``````````````````
 
diff --git a/pep8_naming.egg-info/PKG-INFO b/pep8_naming.egg-info/PKG-INFO
index c26bec4..30fca9b 100644
--- a/pep8_naming.egg-info/PKG-INFO
+++ b/pep8_naming.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pep8-naming
-Version: 0.3.2
+Version: 0.3.3
 Summary: Check PEP-8 naming conventions, plugin for flake8
 Home-page: https://github.com/flintwork/pep8-naming
 Author: Florent Xicluna
@@ -77,6 +77,11 @@ Description: PEP-8 Naming Conventions
         Changes
         -------
         
+        0.3.3 - 2015-06-30
+        ``````````````````
+        
+        * Fix bug where ignored names were not properly split into a list.
+        
         0.3.2 - 2015-06-14
         ``````````````````
         
diff --git a/pep8ext_naming.py b/pep8ext_naming.py
index 1bd4eb5..77a0f50 100644
--- a/pep8ext_naming.py
+++ b/pep8ext_naming.py
@@ -10,11 +10,12 @@ try:
 except ImportError:
     from flake8.util import ast, iter_child_nodes
 
-__version__ = '0.3.2'
+__version__ = '0.3.3'
 
 LOWERCASE_REGEX = re.compile(r'[_a-z][_a-z0-9]*$')
 UPPERCASE_REGEX = re.compile(r'[_A-Z][_A-Z0-9]*$')
 MIXEDCASE_REGEX = re.compile(r'_?[A-Z][a-zA-Z0-9]*$')
+SPLIT_IGNORED_RE = re.compile(r'[,\s]')
 
 
 if sys.version_info[0] < 3:
@@ -78,7 +79,7 @@ class NamingChecker(object):
 
     @classmethod
     def parse_options(cls, options):
-        cls.ignore_names = options.ignore_names.split(', ')
+        cls.ignore_names = SPLIT_IGNORED_RE.split(options.ignore_names)
 
     def run(self):
         return self.visit_tree(self._node) if self._node else ()
diff --git a/setup.cfg b/setup.cfg
index 3e89eac..9a777d0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,6 +3,6 @@ universal = 1
 
 [egg_info]
 tag_date = 0
-tag_svn_revision = 0
 tag_build = 
+tag_svn_revision = 0
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pep8-naming.git



More information about the Python-modules-commits mailing list