File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/aws_encryption_sdk/materials_managers/mpl Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The aws-cryptographic-materials-library MUST be installed to use this module.
4
4
"""
5
- from typing import List
6
5
# pylint should pass even if the MPL isn't installed
7
6
# Also thinks these imports aren't used if it can't import them
8
7
# noqa pylint: disable=import-error,unused-import
21
20
)
22
21
# noqa pylint: enable=import-error,unused-import
23
22
23
+ # pylint and isort disagree on where this should go. Choose isort and disable pylint for this.
24
+ from typing import List # noqa pylint: disable=wrong-import-order
25
+
24
26
from aws_encryption_sdk .exceptions import AWSEncryptionSDKClientError
25
27
from aws_encryption_sdk .identifiers import CommitmentPolicy
26
28
from aws_encryption_sdk .materials_managers import DecryptionMaterialsRequest , EncryptionMaterialsRequest
27
29
from aws_encryption_sdk .materials_managers .base import CryptoMaterialsManager
28
30
from aws_encryption_sdk .materials_managers .mpl .materials import DecryptionMaterialsFromMPL , EncryptionMaterialsFromMPL
29
31
from aws_encryption_sdk .structures import EncryptedDataKey as Native_EncryptedDataKey
30
32
33
+ # noqa pylint: enable=import-error,unused-import
34
+
35
+
31
36
32
37
class CryptoMaterialsManagerFromMPL (CryptoMaterialsManager ):
33
38
"""
Original file line number Diff line number Diff line change 2
2
3
3
The aws-cryptographic-materials-library MUST be installed to use this module.
4
4
"""
5
- from typing import Dict , List , Set
6
5
# pylint should pass even if the MPL isn't installed
7
6
# noqa pylint: disable=import-error
8
7
from aws_cryptographic_materialproviders .mpl .models import (
12
11
)
13
12
# noqa pylint: enable=import-error
14
13
14
+ # pylint and isort disagree on where this should go. Choose isort and disable pylint for this.
15
+ from typing import Dict , List , Set # noqa pylint: disable=wrong-import-order
16
+
15
17
from aws_encryption_sdk .identifiers import Algorithm , AlgorithmSuite
16
18
from aws_encryption_sdk .materials_managers import (
17
19
DecryptionMaterials as Native_DecryptionMaterials ,
You can’t perform that action at this time.
0 commit comments