mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-22 14:31:26 -05:00
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
10 lines
209 B
Bash
Executable File
10 lines
209 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Check if pyright is installed, otherwise exit 1
|
|
[[ -x "$(command -v pyright)" ]] || (
|
|
echo "pyright not found"
|
|
exit 1
|
|
)
|
|
|
|
pyright src/openllm --level error 2> /dev/null || exit 0
|