wyattowalsh docs
CLI Referencedev command

dev command

Development tools — install, format, lint, test, clean, and serve docs. Replaces the former Makefile.

Synopsis

uv run readme dev [COMMAND] [OPTIONS]

Commands

CommandPurpose
installSync all dependencies from the lockfile (uv sync --all-groups)
formatFormat code with ruff check --fix and ruff format
lintLint with ruff, pylint, and mypy
testRun the pytest suite
cleanRemove caches, build artifacts, and generated files
docsServe the Fumadocs dev docs site locally (pnpm dev)
update-depsUpdate all dependencies to latest compatible versions

dev install

uv run readme dev install

Runs uv sync --all-groups to install all dependency groups from the lockfile.

dev format

uv run readme dev format

Runs two Ruff commands in sequence on scripts/ and tests/:

  1. uv run -- python -m ruff check --fix scripts tests
  2. uv run -- python -m ruff format scripts tests

dev lint

uv run readme dev lint

Runs three linters in sequence:

  1. ruff check — fast linting
  2. pylint — deep analysis
  3. mypy — type checking

dev test

# Full suite with coverage
uv run readme dev test

# Without coverage
uv run readme dev test --no-coverage

# Filter by expression
uv run readme dev test -k "test_banner"

# Filter by marker
uv run readme dev test -m "not integration"
OptionDefaultNotes
--coverage/--no-coverage--coverageEnable/disable coverage reporting
-kpytest -k filter expression
-mpytest -m marker expression

dev clean

# Basic clean (caches only)
uv run readme dev clean

# Also remove .venv
uv run readme dev clean --venv

# Also remove generated assets
uv run readme dev clean --generated

Removes __pycache__/, .pytest_cache/, .mypy_cache/, logs/, and .coverage* files. Optional flags extend to .venv and generated assets in .github/assets/img/.

dev docs

uv run readme dev docs

Starts the Fumadocs dev server (pnpm dev inside the docs/ directory). Requires pnpm and node to be installed.

dev update-deps

uv run readme dev update-deps

Recompiles the lockfile with latest compatible versions. Run readme dev install afterward to apply.