Skip to content

Commit 47bca26

Browse files
ProExpertProgweilong.yu
authored and
weilong.yu
committed
[CI/Build] Ignore .gitignored files for shellcheck (vllm-project#10162)
Signed-off-by: luka <luka@neuralmagic.com>
1 parent 00dd03d commit 47bca26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/shellcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ if ! [ -x "$(command -v shellcheck)" ]; then
1818
fi
1919

2020
# TODO - fix warnings in .buildkite/run-amd-test.sh
21-
find . -name "*.sh" -not -path "./.deps/*" -not -path "./.buildkite/run-amd-test.sh" -exec shellcheck {} +
21+
find . -name "*.sh" -not -path "./.buildkite/run-amd-test.sh" -exec sh -c 'git check-ignore -q $1 || shellcheck $1' _ {} \;

0 commit comments

Comments
 (0)