aboutsummaryrefslogtreecommitdiff
path: root/pandora
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2017-05-25 19:19:43 -0700
committerMike Crute <mcrute@gmail.com>2017-05-25 19:21:03 -0700
commit709a25482a0e9a6b4d66561d5ea48253a230d01c (patch)
treebd4eefe144f9c327ea03df7bb4c3c4b4f0440def /pandora
parent62d6832e40ff62c656c5a76589a6da9b010ba8b6 (diff)
downloadpydora-709a25482a0e9a6b4d66561d5ea48253a230d01c.tar.bz2
pydora-709a25482a0e9a6b4d66561d5ea48253a230d01c.tar.xz
pydora-709a25482a0e9a6b4d66561d5ea48253a230d01c.zip
Remove py_release_tools, use flake8
Diffstat (limited to 'pandora')
-rw-r--r--pandora/__init__.py4
-rw-r--r--pandora/errors.py2
-rw-r--r--pandora/py2compat.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/pandora/__init__.py b/pandora/__init__.py
index 0de5cfe..bd2fe63 100644
--- a/pandora/__init__.py
+++ b/pandora/__init__.py
@@ -9,5 +9,5 @@ API Spec from: http://6xq.net/playground/pandora-apidoc/
9Keys at: http://6xq.net/playground/pandora-apidoc/json/partners/#partners 9Keys at: http://6xq.net/playground/pandora-apidoc/json/partners/#partners
10""" 10"""
11 11
12from .client import BaseAPIClient, APIClient 12from .client import BaseAPIClient, APIClient # noqa: F401
13from .transport import APITransport, Encryptor, DEFAULT_API_HOST 13from .transport import APITransport, Encryptor, DEFAULT_API_HOST # noqa: F401
diff --git a/pandora/errors.py b/pandora/errors.py
index d28a60f..b09e813 100644
--- a/pandora/errors.py
+++ b/pandora/errors.py
@@ -97,7 +97,7 @@ class PandoraException(Exception):
97PandoraException.export_exceptions(locals()) 97PandoraException.export_exceptions(locals())
98 98
99 99
100class InvalidUserLogin(InvalidPartnerLogin): 100class InvalidUserLogin(InvalidPartnerLogin): # noqa: F821
101 """Pydora Internal Login Error 101 """Pydora Internal Login Error
102 102
103 This is thrown around a user login to disambiguate a login that is invalid 103 This is thrown around a user login to disambiguate a login that is invalid
diff --git a/pandora/py2compat.py b/pandora/py2compat.py
index 844ea59..d83f8c5 100644
--- a/pandora/py2compat.py
+++ b/pandora/py2compat.py
@@ -20,9 +20,9 @@ except ImportError:
20 20
21# Only used in tests 21# Only used in tests
22try: 22try:
23 from unittest.mock import Mock, MagicMock, call, patch 23 from unittest.mock import Mock, MagicMock, call, patch # noqa: F401
24except ImportError: 24except ImportError:
25 try: 25 try:
26 from mock import Mock, MagicMock, call, patch 26 from mock import Mock, MagicMock, call, patch # noqa: F401
27 except ImportError: 27 except ImportError:
28 pass 28 pass