lllm2

Adopt the DLS Python Copier template

Status

Accepted, 7 September 2026.

Context

lllm2 needs a consistent development workflow and documentation structure. The DLS Python Copier template provides both, along with a way to merge future template updates.

Decision

Adopt release 5.4.0, recording the rendered answers in .copier-answers.yml. Use its src/ layout, setuptools and setuptools-scm packaging, pytest, tox, Ruff, pre-commit, mypy, editor settings and development container.

Organize documentation into tutorials, how-to guides, explanations and reference, with the template’s Sphinx Design cards and PyData theme. Keep the authored workbench documentation and DLS setup instructions.

Retain these project adaptations when updating the template:

Consequences

Contributors install the project with uv sync --locked before running it. uv run --locked tox -p provides the shared Python and documentation checks. Future copier update changes must be reviewed against these adaptations.