- Add httpx>=0.28.0 to services/bff/pyproject.toml for the planned TMDB movie search proxy (M4.3). - Add grpcio-health-checking>=1.83.1 to services/worker/pyproject.toml for Worker gRPC health probing (M3.4/M5.3), updating uv.lock via uv lock. - Copy sibling workspace manifests (pyproject.toml, README.md) in services/worker/Dockerfile and services/bff/Dockerfile so uv sync --frozen --no-dev resolves the monorepo lockfile. - Set ENV DATABASE_URL="sqlite+aiosqlite:////data/magnetflix.sqlite3" in services/worker/Dockerfile to match docs/deployment.md when run standalone. - Update CLAUDE.md and flake.nix shellHook to use uv sync --all-packages so syncing does not uninstall workspace member packages. - Update Makefile generate target to invoke buf directly when already inside nix develop.
21 lines
275 B
Makefile
21 lines
275 B
Makefile
.PHONY: generate test lint format check
|
|
|
|
generate:
|
|
@if command -v buf >/dev/null 2>&1; then \
|
|
buf generate; \
|
|
else \
|
|
nix develop --command buf generate; \
|
|
fi
|
|
|
|
test:
|
|
uv run pytest
|
|
|
|
lint:
|
|
uv run ruff check .
|
|
|
|
format:
|
|
uv run ruff format .
|
|
|
|
check: lint
|
|
uv run pyright
|