From 29b9fd70dd5df15144c29e95a4068217624e2176 Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 28 Jul 2025 16:15:21 +0600 Subject: [PATCH] devutils/lint_tests: fix license header check --- devutils/_lint_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devutils/_lint_tests.py b/devutils/_lint_tests.py index 0334166a..886dcf99 100644 --- a/devutils/_lint_tests.py +++ b/devutils/_lint_tests.py @@ -67,7 +67,7 @@ def c_all_new_files_have_license_header(root): continue # TODO: convert into assert once all of them are resolved - if any(map(lambda hunk: 'terms of the GPL-3.0 license' in str(hunk), file)): + if not any(map(lambda hunk: 'terms of the GPL-3.0 license' in str(hunk), file)): print( f"File {file.path} was added in {patch}, but contains no Helium license header")