diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2016-08-24 13:34:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 13:34:43 -0400 |
commit | 97b0a793b19a6bb763ce322f4f81f518161e2a5b (patch) | |
tree | a9172400ba3fb186c4cfc674b585de559cb57820 | |
parent | ab8dcebc57c12448977d451af57a30d50b7b6298 (diff) | |
download | verhawk-97b0a793b19a6bb763ce322f4f81f518161e2a5b.tar.gz |
Pep8 fixes (#2)
* Initial commit of setup.cfg
* PEP8 changes
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | verhawk/__init__.py | 1 | ||||
-rw-r--r-- | verhawk/scanner.py | 3 |
4 files changed, 3 insertions, 5 deletions
diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..df89932 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[pep8] +ignore=E128,E402,E501 @@ -16,7 +16,7 @@ setup( description='Extract version data from Python [sub]packages/modules', url='https://github.com/spacetelescope/verhawk', license='BSD', - classifiers = [ + classifiers=[ 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', diff --git a/verhawk/__init__.py b/verhawk/__init__.py index 30eb98f..cf7df62 100644 --- a/verhawk/__init__.py +++ b/verhawk/__init__.py @@ -1,3 +1,2 @@ from . import scanner from .version import * - diff --git a/verhawk/scanner.py b/verhawk/scanner.py index 41b6ecd..9a27bb0 100644 --- a/verhawk/scanner.py +++ b/verhawk/scanner.py @@ -74,8 +74,5 @@ class Scanner(object): def as_json(self): return json.dumps(self.versions, sort_keys=True) - def as_zip(self): return zip(self.versions.keys(), self.versions.values()) - - |