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

@ -37,8 +37,8 @@ MODULE cp2k_info
CHARACTER(LEN=*), PARAMETER :: compile_revision = "unknown"
#endif
CHARACTER(LEN=*), PARAMETER :: cp2k_version = "CP2K version 2022.1 (Development Version)"
CHARACTER(LEN=*), PARAMETER :: cp2k_year = "2022"
CHARACTER(LEN=*), PARAMETER :: cp2k_version = "CP2K version 2023.1 (Development Version)"
CHARACTER(LEN=*), PARAMETER :: cp2k_year = "2023"
CHARACTER(LEN=*), PARAMETER :: cp2k_home = "https://www.cp2k.org/"
! compile time information

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"