diff --git a/mpsd-software-environment.py b/mpsd-software-environment.py index 14d5ac4295a2d47a2c7f7dc1c66bf7a8b7917d2b..5c1abeea835438f6004a7d219d25a329dee5f59d 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() )