diff options
author | saturneric <[email protected]> | 2024-07-29 20:22:46 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-29 20:22:46 +0000 |
commit | 1fa7c648e357093ce5f41da0f68a67c229b344da (patch) | |
tree | 1926aea79a8054c0b329440a50d4da846fea2729 /scripts | |
parent | fix: solve some issues form codeql ci yml (diff) | |
download | GpgFrontend-1fa7c648e357093ce5f41da0f68a67c229b344da.tar.gz GpgFrontend-1fa7c648e357093ce5f41da0f68a67c229b344da.zip |
feat: update copyright info
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/copyright_checking.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/copyright_checking.py b/scripts/copyright_checking.py index 6002e0fe..c03ca558 100644 --- a/scripts/copyright_checking.py +++ b/scripts/copyright_checking.py @@ -2,7 +2,7 @@ import os # copyright text for source files copyright_text_source = """/** - * Copyright (C) 2021 Saturneric <[email protected]> + * Copyright (C) 2021-2024 Saturneric <[email protected]> * * This file is part of GpgFrontend. * @@ -30,7 +30,7 @@ copyright_text_source = """/** */""" # copyright text for script files -copyright_text_script = """# Copyright (C) 2021 Saturneric <[email protected]> +copyright_text_script = """# Copyright (C) 2021-2024 Saturneric <[email protected]> # # This file is part of GpgFrontend. # @@ -67,7 +67,9 @@ def check_copright_by_path(path, copyright_text, suffix): print(f"copyright declaration missing: {file_path}") check_copright_by_path("src", copyright_text_source, ('.c', '.cpp', '.h', '.hpp')) -check_copright_by_path("test", copyright_text_source, ('.c', '.cpp', '.h', '.hpp')) check_copright_by_path("src", copyright_text_script, ('.txt')) check_copright_by_path("src", copyright_text_script, ('.txt')) +check_copright_by_path("modules", copyright_text_script, ('.txt')) +check_copright_by_path("modules", copyright_text_script, ('.c', '.cpp', '.h', '.hpp')) + print("check done")
\ No newline at end of file |