File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change
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."
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ if ! [ -x "$(command -v shellcheck)" ]; then
19
19
fi
20
20
21
21
# 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 "{}"'
You can’t perform that action at this time.
0 commit comments