Skip to content

Commit

Permalink
Minor pep8 edits (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort authored Jul 31, 2023
1 parent d5c3df8 commit 7877468
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quota_notifier/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def send(self, address: str, smtp: Optional[SMTP] = None) -> EmailMessage:
return email

with smtp or SMTP(
host=ApplicationSettings.get('smtp_host'),
port=ApplicationSettings.get('smtp_port')
host=ApplicationSettings.get('smtp_host'),
port=ApplicationSettings.get('smtp_port')
) as smtp_server:
smtp_server.send_message(email)

Expand Down
1 change: 1 addition & 0 deletions quota_notifier/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Module Contents
---------------
"""

import logging
from pathlib import Path
from tempfile import NamedTemporaryFile
Expand Down

0 comments on commit 7877468

Please sign in to comment.