mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
Spack requires "spack_repo" to be in the repo path
This commit is contained in:
parent
04040e4da0
commit
78931c6763
15 changed files with 16 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue