Skip to content

Commit

Permalink
Appease the linter
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
shenanigansd authored Mar 2, 2024
1 parent f242e67 commit f07a489
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/dragonfly_reporter/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
from msgraph.generated.models.item_body import ItemBody
from msgraph.generated.models.message import Message
from msgraph.generated.models.recipient import Recipient
from msgraph.generated.users.item.send_mail.send_mail_post_request_body import SendMailPostRequestBody
from msgraph.generated.users.item.send_mail.send_mail_post_request_body import (
SendMailPostRequestBody,
)

from dragonfly_reporter.constants import Mail

Expand Down Expand Up @@ -38,7 +40,7 @@ async def send_mail(

to_recipient = Recipient()
to_recipient.email_address = recipient_email
to_recipients.append(to_recipient)
to_recipients.append(to_recipient) # pyright: ignore [reportUnknownMemberType]

bcc_recipients = []
for bcc_address in bcc_addresses:
Expand All @@ -47,7 +49,7 @@ async def send_mail(

to_recipient = Recipient()
to_recipient.email_address = recipient_email
bcc_recipients.append(to_recipient)
bcc_recipients.append(to_recipient) # pyright: ignore [reportUnknownMemberType]

email_body = ItemBody()
email_body.content = content
Expand Down

0 comments on commit f07a489

Please sign in to comment.