diff options
author | Mike Crute <mcrute@gmail.com> | 2017-05-25 19:19:43 -0700 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2017-05-25 19:21:03 -0700 |
commit | 709a25482a0e9a6b4d66561d5ea48253a230d01c (patch) | |
tree | bd4eefe144f9c327ea03df7bb4c3c4b4f0440def /pandora | |
parent | 62d6832e40ff62c656c5a76589a6da9b010ba8b6 (diff) | |
download | pydora-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__.py | 4 | ||||
-rw-r--r-- | pandora/errors.py | 2 | ||||
-rw-r--r-- | pandora/py2compat.py | 4 |
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/ | |||
9 | Keys at: http://6xq.net/playground/pandora-apidoc/json/partners/#partners | 9 | Keys at: http://6xq.net/playground/pandora-apidoc/json/partners/#partners |
10 | """ | 10 | """ |
11 | 11 | ||
12 | from .client import BaseAPIClient, APIClient | 12 | from .client import BaseAPIClient, APIClient # noqa: F401 |
13 | from .transport import APITransport, Encryptor, DEFAULT_API_HOST | 13 | from .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): | |||
97 | PandoraException.export_exceptions(locals()) | 97 | PandoraException.export_exceptions(locals()) |
98 | 98 | ||
99 | 99 | ||
100 | class InvalidUserLogin(InvalidPartnerLogin): | 100 | class 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 |
22 | try: | 22 | try: |
23 | from unittest.mock import Mock, MagicMock, call, patch | 23 | from unittest.mock import Mock, MagicMock, call, patch # noqa: F401 |
24 | except ImportError: | 24 | except 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 |