From ee0f225e3a4ad89af5aeb2ee623d97ffc5c456fe Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 1 Sep 2018 17:13:38 -0600 Subject: [PATCH] util/lint: update whitespace checking rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Check payloads, the root Makefiles and toolchain.inc - 3rdparty is already not checked, so remove - The marks around COPYING, LICENSE, and README were not needed - Skip checking .ico files Change-Id: Ic4a1709224604b36362d82e249c2916fca0336a2 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/28431 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer Reviewed-by: Werner Zeh --- util/lint/lint-stable-003-whitespace | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index 1a7dc7b2fe..f9b7891d7c 100755 --- a/util/lint/lint-stable-003-whitespace +++ b/util/lint/lint-stable-003-whitespace @@ -15,8 +15,8 @@ # DESCR: Check for superfluous whitespace in the tree LC_ALL=C export LC_ALL -EXCLUDELIST='^3rdparty|^src/vendorcode/|^util/kconfig/|^util/nvidia/cbootimage$|\|\|\|_shipped$|\.patch$|\.bin$|\.hex$|\.jpg$|\.ttf$|\.woff$|\.png$|\.eot$|\.vbt$' -INCLUDELIST="src util" +EXCLUDELIST='^src/vendorcode/|^util/kconfig/|^util/nvidia/cbootimage$|COPYING|LICENSE|README|_shipped$|\.patch$|\.bin$|\.hex$|\.jpg$|\.ttf$|\.woff$|\.png$|\.eot$|\.vbt$|\.ico$' +INCLUDELIST="src util payloads Makefile* toolchain.inc" # shellcheck disable=SC2086,SC2046 if uname | grep -qi "linux"; then