Developer Setup
This page documents setup paths that match the repository as it exists today.
Prerequisites
Setup
- Fork the repository.
- Create a branch for your work.
- Run
mise install. - Run
mise run syncto set upuvand install all dependencies. -
Activate the virtual environment.
source ./.venv/bin/activate.venv/Scripts/Activate.ps1
Pre-commit Hooks
Install hooks after dependencies are set up:
prek install
prek install --hook-type commit-msg
This enables automatic checks before each commit for:
- File format validation (JSON, YAML, TOML)
- Code formatting and linting (Python with Ruff)
- Commit message format (Conventional Commits)
- Dependency synchronization (UV lockfiles)
Warm up hooks
Run prek run --all-files immediately after installing the hooks. That preloads each environment and prevents surprises during your next commit.