summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adams <mark@markadams.me>2017-11-26 22:36:32 -0600
committerMark Adams <mark@markadams.me>2017-11-26 22:36:32 -0600
commit816678fa5845716fabe190b232bf49a2e57f4d98 (patch)
treefb9b6a60673b0456ae598820ec8138dfcff63ddf
parent6c7b8dffa64963aa257b59013853c876b9399f4a (diff)
downloadpyjwt-improve-usage.tar.gz
flake8: Fix a couple of linting errors due to a new version of flake8-import-orderimprove-usage
-rw-r--r--jwt/api_jws.py1
-rw-r--r--jwt/api_jwt.py1
-rw-r--r--jwt/contrib/algorithms/pycrypto.py1
-rw-r--r--tests/test_api_jws.py1
-rw-r--r--tests/test_api_jwt.py1
-rw-r--r--tests/utils.py1
6 files changed, 0 insertions, 6 deletions
diff --git a/jwt/api_jws.py b/jwt/api_jws.py
index 223b22b..ad3ff6a 100644
--- a/jwt/api_jws.py
+++ b/jwt/api_jws.py
@@ -1,7 +1,6 @@
import binascii
import json
import warnings
-
from collections import Mapping
from .algorithms import (
diff --git a/jwt/api_jwt.py b/jwt/api_jwt.py
index 5ddc8a3..881207b 100644
--- a/jwt/api_jwt.py
+++ b/jwt/api_jwt.py
@@ -1,6 +1,5 @@
import json
import warnings
-
from calendar import timegm
from collections import Mapping
from datetime import datetime, timedelta
diff --git a/jwt/contrib/algorithms/pycrypto.py b/jwt/contrib/algorithms/pycrypto.py
index e6afaa5..e49cdbf 100644
--- a/jwt/contrib/algorithms/pycrypto.py
+++ b/jwt/contrib/algorithms/pycrypto.py
@@ -1,7 +1,6 @@
import Crypto.Hash.SHA256
import Crypto.Hash.SHA384
import Crypto.Hash.SHA512
-
from Crypto.PublicKey import RSA
from Crypto.Signature import PKCS1_v1_5
diff --git a/tests/test_api_jws.py b/tests/test_api_jws.py
index 4e440bd..60671a2 100644
--- a/tests/test_api_jws.py
+++ b/tests/test_api_jws.py
@@ -1,6 +1,5 @@
import json
-
from decimal import Decimal
from jwt.algorithms import Algorithm
diff --git a/tests/test_api_jwt.py b/tests/test_api_jwt.py
index 8ce3f2c..a1fbe78 100644
--- a/tests/test_api_jwt.py
+++ b/tests/test_api_jwt.py
@@ -1,7 +1,6 @@
import json
import time
-
from calendar import timegm
from datetime import datetime, timedelta
from decimal import Decimal
diff --git a/tests/utils.py b/tests/utils.py
index 79c77b0..be189f2 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -1,6 +1,5 @@
import os
import struct
-
from calendar import timegm
from datetime import datetime