From f2565ccc47caa0976ddffe4a437d79e2c6ca6435 Mon Sep 17 00:00:00 2001 From: Hans Fangohr <hans.fangohr@mpsd.mpg.de> Date: Tue, 30 May 2023 19:12:24 +0200 Subject: [PATCH] black applied --- mpsd-software-environment.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mpsd-software-environment.py b/mpsd-software-environment.py index 14d5ac4..5c1abee 100755 --- a/mpsd-software-environment.py +++ b/mpsd-software-environment.py @@ -246,7 +246,6 @@ def create_dir_structure(mpsd_release: str, script_dir: Path) -> None: run(["git", "pull"], check=True) - def get_release_info(mpsd_release: str, script_dir: Path) -> Tuple[str, str, List[str]]: """ Get information about the specified release, such as the branch and commit hash @@ -276,9 +275,7 @@ def get_release_info(mpsd_release: str, script_dir: Path) -> Tuple[str, str, Lis with os_chdir("spack-environments"): # Get the branch and commit hash of the spack-environments repo spe_commit_hash = ( - run( - ["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, check=True - ) + run(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, check=True) .stdout.decode() .strip() ) -- GitLab