diff options
author | Vlastimil Zíma <vlastimil.zima@nic.cz> | 2020-07-09 09:06:59 +0200 |
---|---|---|
committer | Vlastimil Zíma <vlastimil.zima@nic.cz> | 2020-07-09 09:06:59 +0200 |
commit | b33d8f6aa4a60294ba8457f8b45de5ed68e68d83 (patch) | |
tree | 42531294cdd03218d85e2e31f5ae25c042b7ebc7 | |
parent | 7d26c7fd7af64dfafc6e71cfc29e003131616d9d (diff) | |
download | openid-b33d8f6aa4a60294ba8457f8b45de5ed68e68d83.tar.gz |
Fix isort
-rw-r--r-- | admin/gettlds.py | 1 | ||||
-rw-r--r-- | openid/test/test_storetest.py | 5 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/admin/gettlds.py b/admin/gettlds.py index 4b0c403..bc8d734 100644 --- a/admin/gettlds.py +++ b/admin/gettlds.py @@ -11,6 +11,7 @@ Then cut-n-paste. from __future__ import unicode_literals import sys + import urllib2 langs = { diff --git a/openid/test/test_storetest.py b/openid/test/test_storetest.py index 61a11af..4faa756 100644 --- a/openid/test/test_storetest.py +++ b/openid/test/test_storetest.py @@ -225,9 +225,10 @@ class TestFileOpenIDStore(unittest.TestCase): """Test `FileOpenIDStore` class.""" def test_filestore(self): - from openid.store import filestore - import tempfile import shutil + import tempfile + + from openid.store import filestore try: temp_dir = tempfile.mkdtemp() except AttributeError: @@ -33,5 +33,5 @@ extras = quality commands = # setup.py is excluded from isort because distutils have problems with unicode_literals. - isort --check-only --diff --recursive openid admin contrib + isort --check-only --diff openid admin contrib flake8 --format=pylint openid setup.py admin contrib |