diff --git a/mpsd-software-environment.py b/mpsd-software-environment.py
index c5114f8ce0f4c5f46cc143557227f66a7c8c113d..5fd2e1652a37d13b75da90d0edc094e7323b355c 100755
--- a/mpsd-software-environment.py
+++ b/mpsd-software-environment.py
@@ -508,9 +508,7 @@ def record_script_execution_summary(
                 )
 
 
-def clone_repo(
-    target_path: Path, repo_url: str, branch=None
-) -> None:
+def clone_repo(target_path: Path, repo_url: str, branch=None) -> None:
     """Clone repo locally. Optionally checkout a branch.
 
     Parameters
@@ -645,7 +643,8 @@ def prepare_environment(mpsd_release: str, root_dir: Path) -> List[str]:
     if repo_path.exists():
         logging.debug(f"directory {repo_path} exists already, not touching")
         logging.debug(
-            "XXX TODO: should we run a git pull here to get the latest version? XXX")
+            "XXX TODO: should we run a git pull here to get the latest version? XXX"
+        )
     else:
         repo_url = config_vars["spack_environments_repo"]
         logging.info(f"cloning repository {repo_path} from {repo_url}")