Stack-2-9-finetuned / scripts /check_types.sh
walidsobhie-code
feat: add production infrastructure - CI/CD, Docker, code quality, and monitoring
b5998ff
#!/usr/bin/env bash
# Run mypy type checking on the codebase
set -e
echo "๐Ÿ” Running mypy type checks..."
# Run mypy on key Python files
mypy \
--python-version 3.8 \
--warn-return-any \
--warn-unused-configs \
--ignore-missing-imports \
--strict-optional \
--warn-redundant-casts \
--warn-unused-ignores \
--show-error-codes \
--show-column-numbers \
test_model.py \
evaluate_model.py \
inference_api.py \
merge_simple.py \
train_local.py \
train_simple_nobnb.py \
src/ \
stack/ \
|| {
echo "โŒ mypy found type errors"
exit 1
}
echo "โœ… mypy type check passed"