Skip to content

Commit c8a0771

Browse files
committed
Poetry
1 parent af34334 commit c8a0771

File tree

1 file changed

+3
-2
lines changed
  • aws_sra_examples/solutions/patch_mgmt/patch_mgmt_org/lambda/src

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def define_mw_targets(params: dict, win1_id_resp: list, win2_id_resp: list, win3
257257
return {"window1_targets": window1_targets, "window2_targets": window2_targets, "window3_targets": window3_targets}
258258

259259

260-
def def_mw_tasks( params: dict, window_id_response: dict, window_target_response: dict, account_id: str) -> dict:# noqa: CFQ001, CCR001
260+
def def_mw_tasks(params: dict, window_id_response: dict, window_target_response: dict, account_id: str) -> dict: # noqa: CFQ001, CCR001
261261
"""Define maintenance window tasks.
262262
263263
Args:
@@ -459,7 +459,8 @@ def parameter_pattern_validator(parameter_name: str, parameter_value: str, patte
459459
if not re.match(pattern, parameter_value):
460460
raise ValueError(f"'{parameter_name}' parameter with value of '{parameter_value}' does not follow the allowed pattern: {pattern}.")
461461

462-
# noqa: CFQ001
462+
463+
# noqa: CFQ001, CCR001
463464
def get_validated_parameters(
464465
event: CloudFormationCustomResourceEvent,
465466
) -> dict: # noqa: CCR001 (cognitive complexity), CFQ001

0 commit comments

Comments
 (0)