Commit 74a3bc37 authored by Daniel Stender's avatar Daniel Stender

Imported Upstream version 0.3.3

parent 2c74d0a5
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
``````````````````
......
......@@ -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
``````````````````
......
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
``````````````````
......
......@@ -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 ()
......
......@@ -3,6 +3,6 @@ universal = 1
[egg_info]
tag_date = 0
tag_svn_revision = 0
tag_build =
tag_svn_revision = 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment