mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-26 13:15:21 -04:00
Update Spack and add support for Spack packages repository
This commit is contained in:
parent
58c5f645d6
commit
400017fac0
14 changed files with 63 additions and 42 deletions
|
|
@ -216,7 +216,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/packages" in fn:
|
||||
if "tools/spack/cp2k_dev_repo/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