tfa-next: tune copyright checker per project

Worth highlighting:

 - Python and shell scripts are kept in scope for RF-A since we might to
   develop tools with these scripting languages in the future.

 - All files and directories should be checked in the RF-A code base,
   with no exception. Source files we inherited from the TF-A project
   now all have a TF-A style copyright header as well as an RF-A style
   one since commits c7ba2fc3b ("refactor(rust): move assembly files to
   rust directory") and 24c893dba ("refactor(rust): move assembly
   headers under rust directory").

Signed-off-by: Sandrine Afsa <sandrine.afsa@arm.com>
Change-Id: I31ea01566cdd4c9166cb38384eac0e34fae2a6e6
diff --git a/script/static-checks/check-copyright.py b/script/static-checks/check-copyright.py
index 730316d..5ed2efd 100755
--- a/script/static-checks/check-copyright.py
+++ b/script/static-checks/check-copyright.py
@@ -31,7 +31,7 @@
         self.valid_file_ext = (
             '.c', '.conf', '.dts', '.dtsi', '.editorconfig',
             '.h', '.i', '.ld', 'Makefile', '.mk', '.msvc',
-            '.py', '.S', '.scat', '.sh', '.rs'
+            '.py', '.S', '.scat', '.sh'
         )
 
         # Paths inside the tree to ignore. Hidden folders and files are always
@@ -58,25 +58,17 @@
     def __init__(self):
         # File extensions to check
         self.valid_file_ext = (
-            '.c', '.conf', '.dts', '.dtsi', '.editorconfig',
-            '.h', '.i', '.ld', 'Makefile', '.mk', '.msvc',
-            '.py', '.S', '.scat', '.sh', '.rs'
+            '.h', '.ld', 'Makefile', '.mk',
+            '.py', '.S', '.sh', '.rs'
         )
 
         # Paths inside the tree to ignore. Hidden folders and files are always
         # ignored. They mustn't end in '/'.
         self.ignored_folders = (
-            'include/lib/hob',
-            'include/lib/libfdt',
-            'lib/compiler-rt',
-            'lib/hob',
-            'lib/libfdt',
-            'lib/zlib'
         )
 
         # List of ignored files in folders that aren't ignored
         self.ignored_files = (
-            'include/tools_share/uuid.h',
         )
 
         self.copyright_line = LINE_START + 'Copyright The Rusted Firmware-A Contributors.' + EOL