Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing lint

  • Loading branch information...
commit e1b84d4c798df0f7857ca736d6821a0817a413bb 1 parent aa6e8b0
@khughitt khughitt authored
View
2  setup.py
@@ -30,7 +30,7 @@ def install(setup): #pylint: disable=W0621
classifiers=CLASSIFIERS,
description=DOCLINES[0],
download_url="http://www.sunpy.org/download/",
- license="",
+ license="Simplified BSD License",
long_description="\n".join(DOCLINES[2:]),
maintainer="SunPy Developers",
maintainer_email="sunpy@googlegroups.com",
View
2  sunpy/io/jp2.py
@@ -98,7 +98,7 @@ def which(program):
def is_exe(fpath):
return os.path.exists(fpath) and os.access(fpath, os.X_OK)
- fpath, fname = os.path.split(program)
+ fpath, fname = os.path.split(program) #pylint: disable=W0612
if fpath:
if is_exe(program):
View
2  sunpy/net/vso/__init__.py
@@ -546,7 +546,7 @@ def download_all(self, response, methods, dw, path, qr, res, info=None):
except NoData:
res.add_error(DownloadFailed(dresponse))
continue
- except Exception, e:
+ except Exception:
# FIXME: Is this a good idea?
res.add_error(DownloadFailed(dresponse))
elif code == '300' or code == '412' or code == '405':
View
2  sunpy/net/vso/attrs.py
@@ -5,8 +5,6 @@
from __future__ import absolute_import
-from datetime import datetime
-
from sunpy.net.attr import (
Attr, ValueAttr, AttrWalker, AttrAnd, AttrOr, DummyAttr, ValueAttr
)
View
4 sunpy/tests/net/test_vso.py
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
# Author: Florian Mayer <florian.mayer@bitsrc.org>
+#pylint: disable=W0613
+
from __future__ import absolute_import
import pytest
@@ -9,7 +11,7 @@
from sunpy.net.vso import attrs as va
from sunpy.net import attr
-from sunpy.util.util import energy, frequency, wavelength
+from sunpy.util.util import energy, frequency
def pytest_funcarg__eit(request):
return va.Instrument('eit')

0 comments on commit e1b84d4

Please sign in to comment.
Something went wrong with that request. Please try again.