Files
OpenLLM/tools/pyright
2023-07-20 07:46:33 -04:00

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