Files
OpenLLM/tools/mypy
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
207 B
Bash
Executable File

#!/usr/bin/env bash
# Check if mypy is installed, otherwise exit 1
[[ -x "$(command -v mypy)" ]] || (
echo "mypy not found"
exit 1
)
mypy --config pyproject.toml --ignore-missing-imports || exit 0