set dotenv-load

test:
    uv run pytest

lint:
    uv run ruff check src tests notebooks
    uv run ruff format --check src tests notebooks

typecheck:
    uv run pyright
    uv run pyright --verifytypes deped_primitives --ignoreexternal

format:
    uv run ruff format src tests notebooks

build:
    uv build

check: lint typecheck test build
    uv run zensical build

check-notebooks:
    uv run --extra marimo marimo check notebooks/*.py

docs:
    uv run zensical serve --dev-addr localhost:8004

dumpenv:
    op inject -i env.example -o .env

publish:
    uv build && UV_PUBLISH_TOKEN=$PYPI_TOKEN uv publish
