mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-26 21:25:19 -04:00
precommit: Check file properties of all files again
This commit is contained in:
parent
f8023dee5a
commit
f82eaf34a7
4 changed files with 14 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue