walidsobhie-code
feat: add production infrastructure - CI/CD, Docker, code quality, and monitoring
b5998ff | # 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" | |