mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-22 14:31:26 -05:00
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
10 lines
207 B
Bash
Executable File
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
|