Files
romm/backend/AGENTS.md

571 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 pytest -n auto <dir>         # same, in parallel; use for directories, not single files
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