List each item on a separate line for easier maintenance

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-03-24 22:05:02 +01:00
parent 6e8d5a00b2
commit 6a45d1e4ce

View File

@ -181,10 +181,23 @@ class IntegrityChecker(object):
self.logger = None self.logger = None
self.setup_logger(log_file) self.setup_logger(log_file)
self.extensions_to_check = ( self.extensions_to_check = (
".c", ".h", ".sh", ".pl", ".py", ".md", ".function", ".data", ".c",
"/Makefile", "/Makefile.inc", "/CMakeLists.txt", "/ChangeLog" ".h",
".sh",
".pl",
".py",
".md",
".function",
".data",
"/Makefile",
"/Makefile.inc",
"/CMakeLists.txt",
"/ChangeLog",
) )
self.excluded_directories = ['.git', 'mbed-os'] self.excluded_directories = [
'.git',
'mbed-os',
]
self.excluded_paths = list(map(os.path.normpath, [ self.excluded_paths = list(map(os.path.normpath, [
'cov-int', 'cov-int',
'examples', 'examples',