static check: ignore the folders without TFM code
The TFM code are in:
secure_fw/
interface/
Change-Id: I9aef912f39328d0687ff2a084411c384eb56d98f
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
diff --git a/script/static-checks/check-copyright.py b/script/static-checks/check-copyright.py
index d99aa5d..98961f9 100755
--- a/script/static-checks/check-copyright.py
+++ b/script/static-checks/check-copyright.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
+# Copyright (c) 2019-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -33,16 +33,15 @@
# Paths inside the tree to ignore. Hidden folders and files are always ignored.
# They mustn't end in '/'.
IGNORED_FOLDERS = (
- 'include/lib/libfdt',
- 'lib/compiler-rt',
- 'lib/libfdt',
- 'lib/zlib'
+ 'platform/ext',
+ 'bl2/ext',
+ 'docs',
+ 'lib',
+ 'tools'
)
# List of ignored files in folders that aren't ignored
-IGNORED_FILES = (
- 'include/tools_share/uuid.h'
-)
+IGNORED_FILES = ()
# Supported comment styles (Python regex)
COMMENT_PATTERN = '(\*|/\*|\#|//)'