From a949ad80107eb56b253c1f4f35f6ce94540d5aeb Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Mon, 3 Jun 2024 08:50:01 -0600 Subject: [PATCH] Use type: ignore instead of noqa Wrong linter ignore type --- src/registrar/utility/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/utility/email.py b/src/registrar/utility/email.py index ceea1afc9..2959e1499 100644 --- a/src/registrar/utility/email.py +++ b/src/registrar/utility/email.py @@ -37,7 +37,7 @@ def send_templated_email( Raises EmailSendingError if SES client could not be accessed """ - if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION: # noqa + if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION: # type: ignore message = "Could not send email. Email sending is disabled due to flag 'disable_email_sending'." raise EmailSendingError(message)