set positional-arguments

list:
    just --list

setup:
    uv sync --extra dev

test *args:
    uv run nox "$@"

pytest *args:
    uv run pytest "$@"

cramtest *args:
    uv run cram "$@" tests/cram/*.t

make-readme:
    uv run compudoc README.md.cd README.md --comment-line-pattern "<!--{{{{CODE}}-->"

publish:
    rm dist -rf
    uv build
    uv publish

lint:
    uv run ruff check . --fix
