From eb9929e6e1348d2abd2ab5338da339410cda376d 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 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/scripts/check-files.py b/tests/scripts/check-files.py index bac1eae03..22cd2c916 100755 --- a/tests/scripts/check-files.py +++ b/tests/scripts/check-files.py @@ -180,10 +180,22 @@ class IntegrityChecker(object): self.logger = None self.setup_logger(log_file) self.extensions_to_check = ( - ".c", ".h", ".sh", ".pl", ".py", ".md", ".function", ".data", - "/Makefile", "/CMakeLists.txt", "/ChangeLog" + ".c", + ".h", + ".sh", + ".pl", + ".py", + ".md", + ".function", + ".data", + "/Makefile", + "/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',