precommit: Check file properties of all files again

This commit is contained in:
Ole Schütt 2021-07-23 22:16:57 +02:00 committed by Ole Schütt
parent f8023dee5a
commit f82eaf34a7
4 changed files with 14 additions and 12 deletions

View file

@ -200,8 +200,7 @@ def process_file(fn, allow_modifications):
if re.match(r"./data/.*POTENTIALS?$", fn):
check_data_files()
if re.match(r".*\.(F|fypp|c|cu|cpp|h|hpp)$", fn):
run_check_file_properties(fn)
run_check_file_properties(fn)
new_content = Path(fn).read_bytes()
if new_content == orig_content: