File tree Expand file tree Collapse file tree 5 files changed +5
-4
lines changed
Expand file tree Collapse file tree 5 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11[MESSAGES CONTROL]
22# Disabling messages that we either don't care about for tests or are necessary to break for tests.
33disable =
4+ too-many-positional-arguments, # on 2026-04-17 aws_encryption_sdk_decrypt_oracle started failing because of this
45 ungrouped-imports, # we let isort handle this
56 consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation
67
Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ pyflakes==2.4.0
1111pylint==2.13.5
1212readme_renderer==37.3
1313seed-isort-config==2.2.0
14+ setuptools==81.0.0
1415vulture==2.9.1
Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ def _prep_message(self):
454454 )
455455
456456 validate_commitment_policy_on_encrypt (self .config .commitment_policy , self ._encryption_materials .algorithm )
457-
457+
458458 if self .config .algorithm is not None and self ._encryption_materials .algorithm != self .config .algorithm :
459459 raise ActionNotAllowedError (
460460 (
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ disable =
1010 attribute-defined-outside-init, # breaks with attrs_post_init
1111 abstract-method, # throws false positives on io.BaseIO grandchildren
1212 redefined-outer-name, # we do this on purpose in multiple places
13- too-many-positional-arguments, # on 2026-04-17 aws_encryption_sdk_decrypt_oracle started failing because of this
1413 # All below are disabled because we need to support Python 2
1514 useless-object-inheritance,
1615 raise-missing-from,
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ def test_encrypt_with_require_policy_fail_when_retrieving_invalid_cmm_materials(
236236 required_encrypting_client = aws_encryption_sdk .EncryptionSDKClient (
237237 commitment_policy = CommitmentPolicy .REQUIRE_ENCRYPT_REQUIRE_DECRYPT
238238 )
239-
239+
240240 provider = StaticRawMasterKeyProvider (
241241 wrapping_algorithm = WrappingAlgorithm .AES_256_GCM_IV12_TAG16_NO_PADDING ,
242242 encryption_key_type = EncryptionKeyType .SYMMETRIC ,
@@ -264,7 +264,7 @@ def test_encrypt_with_forbid_policy_fail_when_retrieving_invalid_cmm_materials()
264264 required_encrypting_client = aws_encryption_sdk .EncryptionSDKClient (
265265 commitment_policy = CommitmentPolicy .REQUIRE_ENCRYPT_REQUIRE_DECRYPT
266266 )
267-
267+
268268 provider = StaticRawMasterKeyProvider (
269269 wrapping_algorithm = WrappingAlgorithm .AES_256_GCM_IV12_TAG16_NO_PADDING ,
270270 encryption_key_type = EncryptionKeyType .SYMMETRIC ,
You can’t perform that action at this time.
0 commit comments