diff --git a/extensions/eda/plugins/event_source/aws_sqs_queue.py b/extensions/eda/plugins/event_source/aws_sqs_queue.py index d8fff5f0..934bc8b8 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: # noqa: perf203 + except json.JSONDecodeError: 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 796e1754..8c6c7b89 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: # noqa: perf203 + except aiohttp.ClientError as e: client_error = str(e) await queue.put( {