Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5c89a29c
Unverified
Commit
5c89a29c
authored
Jan 20, 2025
by
youkaichao
Committed by
GitHub
Jan 20, 2025
Browse files
[misc] add placeholder format.sh (#12206)
Signed-off-by:
youkaichao
<
youkaichao@gmail.com
>
parent
59a0192f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
format.sh
format.sh
+5
-0
tools/shellcheck.sh
tools/shellcheck.sh
+1
-1
No files found.
format.sh
0 → 100755
View file @
5c89a29c
#!/bin/bash
echo
"vLLM linting system has been moved from format.sh to pre-commit hook."
echo
"Please run 'pip install -r requirements-lint.txt' and 'pre-commit install' to install the pre-commit hook."
echo
"Then linters will run automatically before each commit."
tools/shellcheck.sh
View file @
5c89a29c
...
@@ -19,4 +19,4 @@ if ! [ -x "$(command -v shellcheck)" ]; then
...
@@ -19,4 +19,4 @@ if ! [ -x "$(command -v shellcheck)" ]; then
fi
fi
# TODO - fix warnings in .buildkite/run-amd-test.sh
# TODO - fix warnings in .buildkite/run-amd-test.sh
find
.
-name
"*.sh"
-not
-path
"./.buildkite/run-amd-test.sh"
-print0
| xargs
-0
-I
{}
sh
-c
'git check-ignore -q "{}" || shellcheck "{}"'
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
"{}"'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment