mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 05:35:28 -04:00
precommit: Add file extension .cc
This commit is contained in:
parent
524554b18b
commit
1b9c42d219
5 changed files with 154 additions and 141 deletions
|
|
@ -183,7 +183,7 @@ def process_file(fn, allow_modifications):
|
|||
run_local_tool("./tools/doxify/doxify.sh", fn)
|
||||
run_prettify(fn)
|
||||
|
||||
if re.match(r".*\.(c|cu|cpp|h|hpp)$", fn):
|
||||
if re.match(r".*\.(c|cu|cpp|cc|h|hpp)$", fn):
|
||||
run_remote_tool("clangformat", fn)
|
||||
|
||||
if re.match(r"(.*/PACKAGE)|(.*\.py)$", fn):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue