File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test_vector_handlers/src/awses_test_vectors/manifests Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ def from_scenario(
273273 keyrings , # type: bool
274274 keys_uri , # type: str
275275 ):
276- # pylint: disable=too-many-locals
276+ # pylint: disable=too-many-locals,too-many-branches
277277 # type: (...) -> MessageDecryptionTestScenario
278278 """Load from a scenario specification.
279279
@@ -336,8 +336,8 @@ def master_key_provider_fn():
336336 # Caller logic should expect `None` to mean "no scenario".
337337 if master_key_provider_fn () is None :
338338 return None
339- except Exception as e :
340- # If there is some exception when loading the key, continue to create the test scenario.
339+ except Exception : # pylint: disable=broad-exception
340+ # If there is any exception when loading the key, continue to create the test scenario.
341341 # Some test scenarios have bad keys that should fail during the test execution.
342342 pass
343343
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def from_scenario(cls, spec):
9090 padding_hash = spec .get ("padding-hash" ),
9191 )
9292
93- def keyring (self , keys_uri , mode ):
93+ def keyring (self , keys_uri , mode ): # pylint: disable=too-many-branches
9494 # type: (KeysManifest) -> IKeyring
9595 """Build a keyring using this specification.
9696 :param str keys_uri: Path to the keys manifest
You can’t perform that action at this time.
0 commit comments