From 080ab4f4ad2d38a1feabf9e23051658fd11a3daf Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Thu, 4 Jul 2024 09:57:15 +0200 Subject: [PATCH] check_files.py: Exempt only everest from license checking Signed-off-by: Ronald Cron --- tests/scripts/check_files.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/scripts/check_files.py b/tests/scripts/check_files.py index 8c7c2a62b..e9372028a 100755 --- a/tests/scripts/check_files.py +++ b/tests/scripts/check_files.py @@ -368,9 +368,8 @@ class LicenseIssueTracker(LineIssueTracker): heading = "License issue:" LICENSE_EXEMPTION_RE_LIST = [ - # Third-party code, other than whitelisted third-party modules, - # may be under a different license. - r'tf-psa-crypto/drivers/(?!(builtin|p256-m)/.*)', + # Exempt third-party drivers which may be under a different license + r'tf-psa-crypto/drivers/(?=(everest)/.*)', # Documentation explaining the license may have accidental # false positives. r'(ChangeLog|LICENSE|framework\/LICENSE|[-0-9A-Z_a-z]+\.md)\Z',