precommit: Add file extension .cc

This commit is contained in:
Ole Schütt 2021-08-30 20:59:43 +02:00 committed by Ole Schütt
parent 524554b18b
commit 1b9c42d219
5 changed files with 154 additions and 141 deletions

View file

@ -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):