From 0d377e3fd03a2765ce5723c56800745671a45d22 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 15 Mar 2014 09:31:47 -0700 Subject: Small style cleanup for imports --- cryptography/hazmat/primitives/kdf/hkdf.py | 4 ++-- cryptography/hazmat/primitives/kdf/pbkdf2.py | 5 ++--- tests/hazmat/primitives/test_hkdf.py | 4 ++-- tests/hazmat/primitives/test_pbkdf2hmac.py | 5 ++--- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/cryptography/hazmat/primitives/kdf/hkdf.py b/cryptography/hazmat/primitives/kdf/hkdf.py index 10739178..95396fe1 100644 --- a/cryptography/hazmat/primitives/kdf/hkdf.py +++ b/cryptography/hazmat/primitives/kdf/hkdf.py @@ -17,8 +17,8 @@ import six from cryptography import utils from cryptography.exceptions import ( - AlreadyFinalized, InvalidKey, UnsupportedInterface) - + AlreadyFinalized, InvalidKey, UnsupportedInterface +) from cryptography.hazmat.backends.interfaces import HMACBackend from cryptography.hazmat.primitives import constant_time, hmac, interfaces diff --git a/cryptography/hazmat/primitives/kdf/pbkdf2.py b/cryptography/hazmat/primitives/kdf/pbkdf2.py index fcfe601a..f70a7ddf 100644 --- a/cryptography/hazmat/primitives/kdf/pbkdf2.py +++ b/cryptography/hazmat/primitives/kdf/pbkdf2.py @@ -17,9 +17,8 @@ import six from cryptography import utils from cryptography.exceptions import ( - InvalidKey, UnsupportedHash, AlreadyFinalized, - UnsupportedInterface) - + InvalidKey, UnsupportedHash, AlreadyFinalized, UnsupportedInterface +) from cryptography.hazmat.backends.interfaces import PBKDF2HMACBackend from cryptography.hazmat.primitives import constant_time, interfaces diff --git a/tests/hazmat/primitives/test_hkdf.py b/tests/hazmat/primitives/test_hkdf.py index 42c75c65..963fb69c 100644 --- a/tests/hazmat/primitives/test_hkdf.py +++ b/tests/hazmat/primitives/test_hkdf.py @@ -18,8 +18,8 @@ import six import pytest from cryptography.exceptions import ( - AlreadyFinalized, InvalidKey, UnsupportedInterface) - + AlreadyFinalized, InvalidKey, UnsupportedInterface +) from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.hkdf import HKDF diff --git a/tests/hazmat/primitives/test_pbkdf2hmac.py b/tests/hazmat/primitives/test_pbkdf2hmac.py index a47d879e..bf1e7f14 100644 --- a/tests/hazmat/primitives/test_pbkdf2hmac.py +++ b/tests/hazmat/primitives/test_pbkdf2hmac.py @@ -18,9 +18,8 @@ import six from cryptography import utils from cryptography.exceptions import ( - InvalidKey, UnsupportedHash, AlreadyFinalized, - UnsupportedInterface) - + InvalidKey, UnsupportedHash, AlreadyFinalized, UnsupportedInterface +) from cryptography.hazmat.primitives import hashes, interfaces from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC from cryptography.hazmat.backends import default_backend -- cgit v1.2.3