databricks-cli/experimental/python
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
..
databricks Setup CI for Python code (#2448) 2025-03-11 10:29:36 +00:00
databricks_tests/bundles Setup CI for Python code (#2448) 2025-03-11 10:29:36 +00:00
.gitignore Setup CI for Python code (#2448) 2025-03-11 10:29:36 +00:00
LICENSE Setup CI for Python code (#2448) 2025-03-11 10:29:36 +00:00
Makefile Setup CI for Python code (#2448) 2025-03-11 10:29:36 +00:00
pyproject.toml Setup CI for Python code (#2448) 2025-03-11 10:29:36 +00:00
uv.lock Setup CI for Python code (#2448) 2025-03-11 10:29:36 +00:00