mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-04-21 15:39:36 -04:00
Co-authored-by: the <tao.he@hulu.com> Co-authored-by: Aaron <29749331+aarnphm@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
|