Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/59096 )
Change subject: util/lint: Fix linters to work with coreboot-configurator ......................................................................
util/lint: Fix linters to work with coreboot-configurator
* Exclude .gif files from newline checking * Exclude coreboot-configurator from checkpatch checking
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: I1b07b7b05340409e5c1695cc7bbdea68f8190097 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59096 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Patrick Georgi patrick@coreboot.org --- M util/lint/lint-007-checkpatch M util/lint/lint-extended-015-final-newlines 2 files changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/util/lint/lint-007-checkpatch b/util/lint/lint-007-checkpatch index 7a76878..d7443b3 100755 --- a/util/lint/lint-007-checkpatch +++ b/util/lint/lint-007-checkpatch @@ -11,6 +11,7 @@
EXCLUDED_DIRS="^payloads/libpayload/util/kconfig|\ ^payloads/libpayload/curses/PDCurses|\ +^util/coreboot-configurator|\ ^util/crossgcc/patches|\ ^util/inteltool|\ ^util/kconfig|\ diff --git a/util/lint/lint-extended-015-final-newlines b/util/lint/lint-extended-015-final-newlines index 3ab0fbf..55b48cf 100755 --- a/util/lint/lint-extended-015-final-newlines +++ b/util/lint/lint-extended-015-final-newlines @@ -9,7 +9,7 @@ PIDS="" INCLUDED_DIRS_AND_FILES='util/* src/* payloads/* configs/* Makefile *.inc' EXCLUDED_DIRS='src/vendorcode/|cbfstool/lzma/|cbfstool/lz4/|Documentation/|build/|3rdparty/|.git/|coreboot-builds/|util/nvidia/cbootimage/' -EXCLUDED_FILES='.jpg$|.cksum$|.bin$|.vbt$|.hex$|.ico$|.o$|.bz2$|.xz$|^.tmpconfig|.pyc$|_shipped$|sha256$|.png$|.patch$' +EXCLUDED_FILES='.gif$|.jpg$|.cksum$|.bin$|.vbt$|.hex$|.ico$|.o$|.bz2$|.xz$|^.tmpconfig|.pyc$|_shipped$|sha256$|.png$|.patch$'
# Use git ls-files if the code is in a git repo, otherwise use find. if [ -n "$(command -v git)" ] && \