From c4609953d0c8df9adf0fa80000c9e91c3195dbe7 Mon Sep 17 00:00:00 2001
From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de>
Date: Thu, 8 Jun 2023 13:14:02 +0200
Subject: [PATCH] black

---
 mpsd-software-environment.py | 16 +++++++++-------
 tests.py                     |  1 -
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/mpsd-software-environment.py b/mpsd-software-environment.py
index 6fcba2b..e84963e 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 f364eb2..c284591 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
-- 
GitLab