Skip to content

Commit 627d4c8

Browse files
committed
Adding inline spaces before exceptions.
1 parent 1b593d8 commit 627d4c8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

aws_sra_examples/solutions/ami_bakery/ami_bakery_org/lambda/src/codepipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def create_codepipeline(
9090
"roleArn": "arn:" + aws_partition + ":iam::" + account_id + ":role/" + codepipeline_role_name,
9191
"artifactStore": {"type": "S3", "location": bucket_name},
9292
"stages": [
93-
{ # type: ignore
93+
{ # type: ignore
9494
"name": pipeline_name + "-CodeCommitSource",
9595
"actions": [
9696
{
@@ -104,7 +104,7 @@ def create_codepipeline(
104104
}
105105
],
106106
},
107-
{ # type: ignore
107+
{ # type: ignore
108108
"name": pipeline_name + "-DeployEC2ImageBuilder",
109109
"actions": [
110110
{

aws_sra_examples/solutions/config/config_org/lambda/src/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def set_config_in_org(
9292
configuration_recorder: ConfigurationRecorderTypeDef = {
9393
"name": recorder_name,
9494
"roleARN": role_arn,
95-
"recordingGroup": { # type: ignore
95+
"recordingGroup": { # type: ignore
9696
"allSupported": all_supported,
9797
"includeGlobalResourceTypes": include_global_resource_types,
9898
"resourceTypes": resource_types,

aws_sra_examples/solutions/patch_mgmt/patch_mgmt_org/lambda/src/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def manage_task_params(
369369
"""
370370
if task_operation is None and task_reboot_option is None:
371371
no_param_response: MaintenanceWindowTaskInvocationParametersTypeDef = {
372-
"RunCommand": { # type: ignore
372+
"RunCommand": { # type: ignore
373373
"Parameters": {},
374374
"DocumentVersion": "$DEFAULT",
375375
"TimeoutSeconds": 3600,
@@ -382,7 +382,7 @@ def manage_task_params(
382382
task_operation_final: str = "INVALID_TASK_OPERATION_PROVIDED" if task_operation is None else task_operation
383383
task_reboot_option_final: str = "INVALID_TASK_REBOOT_OPTION_PROVIDED" if task_reboot_option is None else task_reboot_option
384384
with_params_response: MaintenanceWindowTaskInvocationParametersTypeDef = {
385-
"RunCommand": { # type: ignore
385+
"RunCommand": { # type: ignore
386386
"Parameters": {
387387
"Operation": [task_operation_final],
388388
"RebootOption": [task_reboot_option_final],

aws_sra_examples/solutions/security_lake/security_lake_org/lambda/src/security_lake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ def set_lake_formation_permissions(lf_client: LakeFormationClient, account: str,
913913
try:
914914
resource: Union[ResourceTypeDef] = {
915915
"Database": {"CatalogId": account, "Name": db_name + "_subscriber"},
916-
"Table": {"CatalogId": account, "DatabaseName": db_name + "_subscriber", "Name": "rl_*"}, # type: ignore
916+
"Table": {"CatalogId": account, "DatabaseName": db_name + "_subscriber", "Name": "rl_*"}, # type: ignore
917917
}
918918
lf_client.grant_permissions(
919919
CatalogId=account,

0 commit comments

Comments
 (0)