Update cp2k_info.F to 2023

This commit is contained in:
Ole Schütt 2023-01-01 13:10:18 +01:00 committed by Ole Schütt
parent ffbd2cdb7f
commit 64a6e2ead2
2 changed files with 4 additions and 2 deletions

View file

@ -172,6 +172,8 @@ def check_file(path: pathlib.Path) -> typing.List[str]:
warnings += [f"{path}: Copyright banner malformed"]
if path.name == "LICENSE" and bsd_licensed and f"2000-{year}" not in content:
warnings += [f"{path}: Copyright banner malformed"]
if path.name == "cp2k_info.F" and f'cp2k_year = "{year}"' not in content:
warnings += [f"{path}: Wrong year."]
# check shebang
PY_SHEBANG = "#!/usr/bin/env python3"