A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 16, 02:00 UTC
[misc] add placeholder format.sh (#12206)
Signed-off-by: youkaichao <youkaichao@gmail.com>
youkaichao committed
Jan 20, 2025 at 16:04 UTC
5c89a29c22471a0ad5bb05dea9cb891ff97f9623
2 files changed
+6
-1
format.sh
new
+5
@@ -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
+1
-1
@@ -19,4 +19,4 @@ if ! [ -x "$(command -v shellcheck)" ]; then
19
fi
20
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 "{}"'