Dev setup¶
Prerequisites¶
First-time setup¶
git clone https://github.com/random-walks/jellycell
cd jellycell
make dev
make dev runs uv sync --all-extras (installs runtime + server + docs + dev deps) and uv run pre-commit install (enables ruff/mypy on commit).
Dev loop¶
make test # full pytest suite
make test-unit # fast unit tests only
make lint # ruff + mypy
make format # ruff format + fix lint issues
make docs # sphinx-autobuild at http://127.0.0.1:8001
Running the CLI during dev¶
uv run jellycell --help
uv run python -m jellycell --version
Debugging¶
Failing pytest run:
uv run pytest -x -vvstops at the first failure with full tracebacks.Failing mypy:
uv run mypy src --show-error-codesto enable per-error silencing.Stuck kernel in integration tests: ctrl-c once, pytest cleans up via
pytest-asynciofixtures.
Editor config¶
VS Code: install the official Python, Pylance, and Ruff extensions. Point the interpreter at .venv/bin/python (created by uv sync).