From 515b213fa08f441c5b565d2894ccc7a473e7d61a Mon Sep 17 00:00:00 2001 From: Utkarsh Sharma Date: Wed, 7 Jun 2023 17:35:14 +0530 Subject: [PATCH] Fix ruff static check (#31762) GitOrigin-RevId: b7796895cb41d8e5e79e6d8eee150b11d8c302a7 --- airflow/providers/smtp/notifications/smtp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airflow/providers/smtp/notifications/smtp.py b/airflow/providers/smtp/notifications/smtp.py index 301fe507511..482b6ce8b93 100644 --- a/airflow/providers/smtp/notifications/smtp.py +++ b/airflow/providers/smtp/notifications/smtp.py @@ -34,7 +34,7 @@ class SmtpNotifier(BaseNotifier): """ - SMTP Notifier + SMTP Notifier. :param smtp_conn_id: The :ref:`smtp connection id ` that contains the information used to authenticate the client. @@ -82,11 +82,11 @@ def __init__( @cached_property def hook(self) -> SmtpHook: - """Smtp Events Hook""" + """Smtp Events Hook.""" return SmtpHook(smtp_conn_id=self.smtp_conn_id) def notify(self, context): - """Send a email via smtp server""" + """Send a email via smtp server.""" with self.hook as smtp: smtp.send_email_smtp( smtp_conn_id=self.smtp_conn_id,