Skip to content

Commit 79e5d4a

Browse files
ProExpertProgJC1DA
authored andcommitted
[CI/Build] Ignore .gitignored files for shellcheck (vllm-project#10162)
Signed-off-by: luka <luka@neuralmagic.com> Signed-off-by: Loc Huynh <jc1da.3011@gmail.com>
1 parent bb423d7 commit 79e5d4a

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)