Skip to content

Commit

Permalink
fix: address python linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
isobel-daley-6point6 committed Feb 26, 2025
1 parent 3d306fc commit 631855d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def lambda_handler(event, context):
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"themeColor": colour,
"title": f"Transition to {new_state} on {endpoint_name} for the
alarm named {alarm_name}",
"title": f"Transition to {new_state} on {endpoint_name} for alarm {alarm_name}",
"text": f"Triggered at {readable_time_str} on {readable_date_str}",
"potentialAction": [
{
Expand All @@ -60,6 +59,5 @@ def lambda_handler(event, context):
headers=headers,
)
logger.info(
f"Completed with response code {response.status} and
full response data {response.data}"
f"Completed with code {response.status} and full response {response.data}"
)
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def process_message(record):
)
s3.meta.client.copy(copy_source, input_file_bucket, s3_filepath_output)
logger.info(
f"Output from endpoint {endpoint_name} with user_id {federated_user_id}
moved to user's theia workspace"
f"Output from endpoint:{endpoint_name} with user_id:{federated_user_id} moved to user's workspace"
)
except Exception as e:
logger.error(e)
Expand Down

0 comments on commit 631855d

Please sign in to comment.