Skip to content

Commit

Permalink
Update cp2k_info.F to 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Jan 1, 2023
1 parent ffbd2cd commit 64a6e2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cp2k_info.F
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/precommit/check_file_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 64a6e2e

Please sign in to comment.