diff options
author | Martin Roth <martinr@coreboot.org> | 2018-09-01 17:13:38 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-09-04 12:38:56 +0000 |
commit | ee0f225e3a4ad89af5aeb2ee623d97ffc5c456fe (patch) | |
tree | 2e22349666eab371ed50a26cdc2c2ef513bb3ac9 /util | |
parent | 87282737a808ea030870cc3340c1dfaa7aa15f97 (diff) |
util/lint: update whitespace checking rules
- 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 <martinr@coreboot.org>
Reviewed-on: https://review.coreboot.org/28431
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'util')
-rwxr-xr-x | util/lint/lint-stable-003-whitespace | 4 |
1 files 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$|\<COPYING\>|\<LICENSE\>|\<README\>|_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 |