Commit Graph

2 Commits

Author SHA1 Message Date
Gleb Kanterov 814168398d
[Python] Configure Sphinx docs (#2496)
## Changes
Configure Sphinx docs for Python code.

There is a lot of customization for Sphinx output to make complex type
signatures readable:
- Type dicts are not documented, because they exactly follow dataclass
schema
- Variables are excluded from type signatures

After that, when the rest of the code is ready, we can automatically
publish docs into gh-pages.

## Tests
Adds CI check
2025-03-17 09:18:33 +00:00
Gleb Kanterov 36431ef161
Setup CI for Python code (#2448)
## Changes
Add new CI jobs for testing Python code.

These jobs are separate from Golang code because they are executed
against a matrix of Python versions, and OS versions are not relevant.
We will get coverage with OS versions using acceptance tests. In
addition, we don't need to run these tests unless any of the Python code
is modified.

We use uv as a package manager to provision all CI tools:
- pyright to typecheck
- ruff to lint and format

experimental/python contains a Makefile with target similar to
repository root:
- make fmt
- make lint
- make build

## Tests
Using CI
<!-- How have you tested the changes? -->

---
NO_CHANGELOG=true
2025-03-11 10:29:36 +00:00