diff --git a/extensions/eda/plugins/event_source/aws_sqs_queue.py b/extensions/eda/plugins/event_source/aws_sqs_queue.py index 934bc8b8..d8fff5f0 100644 --- a/extensions/eda/plugins/event_source/aws_sqs_queue.py +++ b/extensions/eda/plugins/event_source/aws_sqs_queue.py @@ -67,7 +67,7 @@ async def main(queue: asyncio.Queue, args: dict[str, Any]) -> None: meta = {"MessageId": msg["MessageId"]} try: msg_body = json.loads(msg["Body"]) - except json.JSONDecodeError: + except json.JSONDecodeError: # noqa: perf203 msg_body = msg["Body"] await queue.put({"body": msg_body, "meta": meta}) diff --git a/extensions/eda/plugins/event_source/url_check.py b/extensions/eda/plugins/event_source/url_check.py index 8c6c7b89..796e1754 100644 --- a/extensions/eda/plugins/event_source/url_check.py +++ b/extensions/eda/plugins/event_source/url_check.py @@ -51,7 +51,7 @@ async def main(queue: asyncio.Queue, args: dict[str, Any]) -> None: }, ) - except aiohttp.ClientError as e: + except aiohttp.ClientError as e: # noqa: perf203 client_error = str(e) await queue.put( {