From 6a45d1e4ce543847ce8594937d748a157bc610f2 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 24 Mar 2020 22:05:02 +0100 Subject: [PATCH] List each item on a separate line for easier maintenance Signed-off-by: Gilles Peskine --- tests/scripts/check-files.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/tests/scripts/check-files.py b/tests/scripts/check-files.py index 3d966d877..7133e9ddd 100755 --- a/tests/scripts/check-files.py +++ b/tests/scripts/check-files.py @@ -181,10 +181,23 @@ class IntegrityChecker(object): self.logger = None self.setup_logger(log_file) self.extensions_to_check = ( - ".c", ".h", ".sh", ".pl", ".py", ".md", ".function", ".data", - "/Makefile", "/Makefile.inc", "/CMakeLists.txt", "/ChangeLog" + ".c", + ".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, [ 'cov-int', 'examples',