Skip to content

Commit 874f5be

Browse files
committed
resolve comments
1 parent fcbd4f8 commit 874f5be

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

examples/src/legacy/custom_cmm_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
3-
"""Example to create a custom crypto material manager class."""
3+
"""Example to create a custom implementation of the native ESDK CryptoMaterialsManager class."""
44

55
import aws_encryption_sdk
66
from aws_encryption_sdk import CommitmentPolicy, StrictAwsKmsMasterKeyProvider

examples/test/legacy/test_i_custom_cmm_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_custom_cmm_example():
2626
kms_kwargs["botocore_session"] = botocore_session
2727
master_key_provider = aws_encryption_sdk.StrictAwsKmsMasterKeyProvider(**kms_kwargs)
2828

29-
# Create the V3 default CMM (V3DefaultCryptoMaterialsManager) using the master_key_provider
29+
# Create the custom signing CMM using the master_key_provider
3030
cmm = CustomSigningSuiteOnlyCMM(master_key_provider=master_key_provider)
3131

3232
encrypt_decrypt_with_cmm(cmm=cmm,

examples/test/legacy/v3_default_cmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
3-
"""Copy-paste of the V3 default CMM."""
3+
"""Copy-paste of the V3 default CMM with small changes to pass linters.."""
44
import logging
55

66
import attr

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ commands =
173173
# E203 is not PEP8 compliant https://github.com/ambv/black#slices
174174
# W503 is not PEP8 compliant https://github.com/ambv/black#line-breaks--binary-operators
175175
--ignore D103,E203,W503 \
176+
# copy-paste test for v3_default_cmm; intentionally not changing code
176177
--per-file-ignores 'examples/test/legacy/v3_default_cmm.py: D205,D400,D401' \
177178
examples/test/
178179

0 commit comments

Comments
 (0)