image-captioning-api / requirements-dev.txt
apoorvrajdev's picture
feat: finalize Phase 1 modular ML architecture
3a2e5f0
# =============================================================================
# requirements-dev.txt — developer tooling; never installed in production.
# -----------------------------------------------------------------------------
# Install alongside the runtime deps:
# pip install -r requirements.txt -r requirements-dev.txt
#
# Or in one go via the package extras:
# pip install -e ".[dev]"
# =============================================================================
# Inherit runtime deps so devs get a complete environment in one command.
-r requirements.txt
# ---- Lint / format / type-check ----------------------------------------------
# Ruff replaces black + isort + flake8. ~100x faster, single config in pyproject.
ruff==0.5.0
mypy==1.10.1
# ---- Test runner -------------------------------------------------------------
pytest==8.2.2
pytest-cov==5.0.0
pytest-asyncio==0.23.7
httpx==0.27.0 # FastAPI TestClient transport
# ---- Pre-commit / notebook hygiene -------------------------------------------
# `pre-commit` orchestrates the hooks; `nbstripout` strips notebook outputs on
# commit so notebook diffs stay reviewable (and avoid leaking PII in cell outputs).
pre-commit==3.7.1
nbstripout==0.7.1
# ---- Type stubs --------------------------------------------------------------
types-PyYAML==6.0.12.20240311
types-requests==2.32.0.20240602
pandas-stubs==2.2.2.240603