Skip to content

Commit bf4dc63

Browse files
youkaichaomzusman
authored andcommitted
[misc] add placeholder format.sh (vllm-project#12206)
Signed-off-by: youkaichao <youkaichao@gmail.com>
1 parent 5137f15 commit bf4dc63

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

format.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
echo "vLLM linting system has been moved from format.sh to pre-commit hook."
4+
echo "Please run 'pip install -r requirements-lint.txt' and 'pre-commit install' to install the pre-commit hook."
5+
echo "Then linters will run automatically before each commit."

tools/shellcheck.sh

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

2121
# TODO - fix warnings in .buildkite/run-amd-test.sh
22-
find . -name "*.sh" -not -path "./.buildkite/run-amd-test.sh" -print0 | xargs -0 -I {} sh -c 'git check-ignore -q "{}" || shellcheck "{}"'
22+
find . -name "*.sh" ".git" -prune -not -path "./.buildkite/run-amd-test.sh" -print0 | xargs -0 -I {} sh -c 'git check-ignore -q "{}" || shellcheck -s bash "{}"'

0 commit comments

Comments
 (0)