Skip to content

Commit e065f50

Browse files
committed
more ci fix
1 parent 29cccae commit e065f50

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

decrypt_oracle/src/pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[MESSAGES CONTROL]
22
# Disabling messages that we either don't care about for tests or are necessary to break for tests.
33
disable =
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

dev_requirements/linter-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ pyflakes==2.4.0
1111
pylint==2.13.5
1212
readme_renderer==37.3
1313
seed-isort-config==2.2.0
14+
setuptools==81.0.0
1415
vulture==2.9.1

src/aws_encryption_sdk/streaming_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
(

src/pylintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

test/functional/test_f_commitment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)