Files
romm/backend/AGENTS.md

476 B

RomM backend

Commands (cd backend)

uv sync --all-extras --dev          # install
uv run main.py              # run (migrations auto-apply)
uv run pytest <path/file>           # test - affected files only, NEVER the whole suite
uv run mypy --config-file ../.trunk/configs/mypy.ini .   # type-check the whole backend
uv run alembic revision --autogenerate -m "msg"   # new migration (then HAND-REVIEW)
uv run alembic upgrade head         # apply migrations