Files
OpenLLM/tools/pyright
Aaron Pham c1ddb9ed7c feat: GPTQ + vLLM and LlaMA (#113)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-19 18:12:12 -04:00

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