diff --git a/mpsd-software-environment.py b/mpsd-software-environment.py
index 6fcba2b83ade424116382f99b39ed9f3f5477c02..e84963e41df0b85d4a20327effc7db834d1defba 100755
--- a/mpsd-software-environment.py
+++ b/mpsd-software-environment.py
@@ -51,6 +51,7 @@ config_vars = {
     "spack_environments_repo": "https://gitlab.gwdg.de/mpsd-cs/spack-environments.git",
 }
 
+
 def create_log_file_names(
     mpsd_release: str,
     mpsd_microarch: str,
@@ -82,7 +83,7 @@ def create_log_file_names(
         only install and remove are valid for build log file.
     toolchain : str
         toolchain name (only for build log file)
-    
+
     Returns
     -------
     str
@@ -101,12 +102,13 @@ def create_log_file_names(
         log_template = config_vars["installer_log_template"]
 
     return log_template.substitute(
-            mpsd_release=mpsd_release,
-            mpsd_microarch=mpsd_microarch,
-            date=date,
-            action=action,
-            toolchain=toolchain,
-        )
+        mpsd_release=mpsd_release,
+        mpsd_microarch=mpsd_microarch,
+        date=date,
+        action=action,
+        toolchain=toolchain,
+    )
+
 
 def log_metadata(key: str, value: str) -> None:
     """Log metadata to the log file.
diff --git a/tests.py b/tests.py
index f364eb23de40433a52bce17fb9394f717b642b14..c284591902e312c7b7d662a9da542894443e0681 100644
--- a/tests.py
+++ b/tests.py
@@ -383,7 +383,6 @@ def test_metadata_logging(tmp_path):
     assert len(read_dict) == len(keys)
 
 
-
 def test_create_log_file_names():
     """Test that the log file names are created correctly."""
     create_log_file_names = mod.create_log_file_names