disable linting

This commit is contained in:
zandercymatics 2024-06-03 08:23:31 -06:00
parent fd708e0b2d
commit 559254ab07
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -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:
if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION: # noqa
message = "Could not send email. Email sending is disabled due to flag 'disable_email_sending'."
raise EmailSendingError(message)