diff --git a/mailservice.py b/mailservice.py
index bb46296091e22dfe5f451b71072dcc7a8782dc6b..e1316ea51a4724a19b99ea1d623fb90400e801d6 100644
--- a/mailservice.py
+++ b/mailservice.py
@@ -45,7 +45,9 @@ def main(end):
             local_hostname = None
 
         s = smtplib.SMTP(
-            host=config["MAIL"]["SERVER"], port=config["MAIL"]["PORT"], local_hostname=local_hostname
+            host=config["MAIL"]["SERVER"],
+            port=config["MAIL"]["PORT"],
+            local_hostname=local_hostname,
         )
 
         sent = 0
@@ -99,7 +101,9 @@ def main(end):
                         job_uuids.append(Path(job).name)
 
                     msg.set_content(
-                        "The following jobs currently have errors:\n\n - {}".format("\n - ".join(job_uuids))
+                        "The following jobs currently have errors:\n\n - {}".format(
+                            "\n - ".join(job_uuids)
+                        )
                     )
 
                     s.send_message(msg)
diff --git a/routes.py b/routes.py
index 2e2b71b91adcbd15da6185543f2f03c7a1f8d039..5b7f51b0681b7d2bd4c2a484316a1495580f1958 100644
--- a/routes.py
+++ b/routes.py
@@ -3,7 +3,15 @@ from os import path, makedirs
 from uuid import uuid4
 
 import av
-from flask import current_app, render_template, abort, url_for, redirect, request, stream_with_context
+from flask import (
+    current_app,
+    render_template,
+    abort,
+    url_for,
+    redirect,
+    request,
+    stream_with_context,
+)
 
 from forms import UploadForm