Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 859 Bytes

File metadata and controls

43 lines (29 loc) · 859 Bytes

jsmn-tools

CI

A code generator for JSON parsing in C.

Testing

uv run pytest                        # unit + integration
uv run pytest --cov=jsmn_tools     # with coverage
uv run pytest codegen/tests/unit     # unit only
uv run radon cc codegen/src -a -nb   # cyclomatic complexity
uv run radon mi codegen/src -nb      # maintainability index

Building the docs

Prerequisites

  • Python >= 3.11
  • uv

Setup

uv venv
uv sync --extra docs

Build

uv run sphinx-build -b html docs docs/_build

Preview

uv run python -m http.server 8000 --directory docs/_build

Open http://localhost:8000.