Spaces:
Build error
Build error
| .PHONY: install dev test lint format type-check clean | |
| install: | |
| uv pip install -e ".[dev]" | |
| dev: | |
| uvicorn app.main:app --reload --host 0.0.0.0 --port 8000 | |
| test: | |
| pytest tests/ -v --cov=app --cov-report=html | |
| lint: | |
| ruff check app tests | |
| mypy app | |
| format: | |
| black app tests | |
| ruff check --fix app tests | |
| type-check: | |
| mypy app | |
| clean: | |
| find . -type d -name __pycache__ -exec rm -r {} + | |
| find . -type f -name "*.pyc" -delete | |
| find . -type f -name "*.pyo" -delete | |
| find . -type d -name "*.egg-info" -exec rm -r {} + | |
| rm -rf .pytest_cache .coverage htmlcov dist build | |