Spack requires "spack_repo" to be in the repo path

This commit is contained in:
Matthias Krack 2026-01-07 12:26:38 +01:00
parent 04040e4da0
commit 78931c6763
15 changed files with 16 additions and 16 deletions

View file

@ -233,7 +233,7 @@ def process_file(fn: str, allow_modifications: bool) -> None:
if re.match(r"(.*/PACKAGE)|(.*\.py)$", fn):
ast.parse(orig_content, filename=fn)
if "tools/spack/cp2k_dev_repo/packages" in fn:
if "tools/spack/spack_repo/cp2k_dev/packages" in fn:
run_remote_tool("spackformat", fn)
else:
run_remote_tool("black", fn)