uv syncThis installs the dev dependency group (pytest, pyright, ruff, respx).
uv run ruff check .
uv run ruff format --check .
uv run pyright
uv run pytest tests/unitThe generated tree under src/openstatus/_gen/ is committed. To bump the pinned
schema version:
- Edit
BUF_PY_VERSIONinscripts/regen.sh. - Run
bash scripts/regen.sh. - Commit
scripts/regen.shand the resultingsrc/openstatus/_gen/diff together.
A weekly GitHub Action opens this PR automatically when a newer archive is published.
Integration tests hit the live API and are gated on OPENSTATUS_API_KEY. They
are not run in CI:
OPENSTATUS_API_KEY=... uv run pytest tests/integration- Use
from __future__ import annotationsat the top of every hand-written module. - Keep public surface explicit via
__all__. - Add a
CHANGELOG.mdentry under[Unreleased]for any user-visible change.