mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-22 06:19:35 -05:00
10 lines
202 B
Bash
Executable File
10 lines
202 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 "$@" --level error 2> /dev/null || exit 0
|