diff --git a/shell.nix b/shell.nix index 401e4d0..c973c9c 100644 --- a/shell.nix +++ b/shell.nix @@ -6,8 +6,9 @@ mkShell { buildInputs = [ python38 python38Packages.telethon - python38Packages.aiosmtpd python38Packages.pytest + python38Packages.isort + python38Packages.pyflakes ]; } diff --git a/src/notifier.py b/src/notifier.py index c66a043..1e47ef3 100644 --- a/src/notifier.py +++ b/src/notifier.py @@ -1,7 +1,8 @@ from email.message import EmailMessage -from smtplib import SMTP_SSL -from constants import DOMAIN, USERNAME, PASSWORD from secrets import token_hex +from smtplib import SMTP_SSL + +from constants import DOMAIN, PASSWORD, USERNAME def initialize_smtp(domain, username, password):