Skip to content

Commit a2a6819

Browse files
committed
license: missing copyrights in cmake are ok
do not complain about missing copyrights in cmake files. Signed-off-by: Anas Nashif <[email protected]>
1 parent 1d8f352 commit a2a6819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/check_compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ def run(self):
621621
report += ("* {} has unknown SPDX: {}\n".format(
622622
orig_path, lic['key']))
623623

624-
if not file['copyrights']:
624+
if not file['copyrights'] and file.get("programming_language") != 'CMake':
625625
report += ("* {} missing copyright.\n".format(orig_path))
626626

627627
if report != "":

0 commit comments

Comments
 (0)