Skip to content

Commit 8366b7a

Browse files
committed
chore: run formatter
1 parent ea306f8 commit 8366b7a

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

src/aws_encryption_sdk/internal/crypto/authentication.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
import base64
1515
import logging
1616

17-
from aws_encryption_sdk.internal.utils import verify_interface
1817
from cryptography.hazmat.backends import default_backend
1918
from cryptography.hazmat.primitives import hashes, serialization
2019
from cryptography.hazmat.primitives.asymmetric import ec
2120
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
2221

22+
from aws_encryption_sdk.internal.utils import verify_interface
23+
2324
from ...exceptions import NotSupportedError
2425
from .elliptic_curve import (
2526
_ecc_encode_compressed_point,

src/aws_encryption_sdk/internal/crypto/elliptic_curve.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
from collections import namedtuple
1616

1717
import six
18-
from aws_encryption_sdk.internal.utils import verify_interface
1918
from cryptography.hazmat.backends import default_backend
2019
from cryptography.hazmat.primitives.asymmetric import ec
2120
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed, decode_dss_signature, encode_dss_signature
2221
from cryptography.utils import int_from_bytes, int_to_bytes
2322

23+
from aws_encryption_sdk.internal.utils import verify_interface
24+
2425
from ...exceptions import NotSupportedError
2526
from ..str_ops import to_bytes
2627

src/aws_encryption_sdk/internal/utils/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
import os
1717

1818
import six
19+
from cryptography.hazmat.primitives.asymmetric import ec
1920

2021
import aws_encryption_sdk.internal.defaults
2122
from aws_encryption_sdk.exceptions import InvalidDataKeyError, SerializationError, UnknownIdentityError
2223
from aws_encryption_sdk.identifiers import ContentAADString, ContentType
2324
from aws_encryption_sdk.internal.str_ops import to_bytes
2425
from aws_encryption_sdk.structures import EncryptedDataKey
25-
from cryptography.hazmat.primitives.asymmetric import ec
2626

2727
from .streams import InsistentReaderBytesIO
2828

test/unit/test_crypto_authentication_signer.py

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You
4+
# may not use this file except in compliance with the License. A copy of
5+
# the License is located at
6+
#
7+
# http://aws.amazon.com/apache2.0/
8+
#
9+
# or in the "license" file accompanying this file. This file is
10+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11+
# ANY KIND, either express or implied. See the License for the specific
12+
# language governing permissions and limitations under the License.
113
"""Unit test suite for ``aws_encryption_sdk.internal.crypto.authentication.Signer``."""
214
import pytest
315
from mock import MagicMock, sentinel

test/unit/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
import aws_encryption_sdk.identifiers
2121
import aws_encryption_sdk.internal.utils
22-
from aws_encryption_sdk.internal.utils import verify_interface
2322
from aws_encryption_sdk.exceptions import InvalidDataKeyError, SerializationError, UnknownIdentityError
2423
from aws_encryption_sdk.internal.defaults import MAX_FRAME_SIZE, MESSAGE_ID_LENGTH
24+
from aws_encryption_sdk.internal.utils import verify_interface
2525
from aws_encryption_sdk.structures import DataKey, EncryptedDataKey, MasterKeyInfo, RawDataKey
2626

2727
from .test_values import VALUES

0 commit comments

Comments
 (0)