This file is for Claude Code and other Claude-based AI assistants working in this repository.
sphinxcontrib-enum — Sphinx directive for documenting an enum with properties or dataclass elements in tabular format.
A Python library. Source lives in src/sphinxcontrib_enum/. Tests are in tests/. Documentation is in doc/.
Uses just as a task runner, uv for dependency management, and hatchling as the build backend.
just setup # create .venv + install pre-commit hooks
just install # sync all dev dependenciesjust test # run tests against project venv (fast iteration)
just test tests/test_foo.py # run a specific file
just test-all # run full suite in an isolated environment
just test-all -p 3.12 # run full suite against a specific python
just coverage # combine and report coveragejust test uses the project venv with --no-sync for speed. just test-all runs in a fully isolated environment and accepts any uv run flags (e.g. -p 3.12 --resolution lowest-direct).
just fix # auto-fix lint + format
just check # all static checks without modifying files
just prek # run pre-commit hooksjust check-types # mypy + pyright (project venv)
just check-types-isolated # mypy + pyright in isolated envjust docs # build Sphinx HTML and open in browser
just docs-live # live-reload dev server
just check-docs # lint docs with doc8just release 1.2.3 # validates version, tags, and pushes tag to GitHubCI tests the full matrix of supported Python versions on Linux, plus the oldest and
newest Python on Windows and macOS. Lower dependency bounds are tested with
--resolution lowest-direct on the oldest supported Python.
src/sphinxcontrib_enum/ # library source
tests/ # pytest test suite
doc/source/ # Sphinx documentation source