Getting Started
Before contributing to the SDK, read the main CONTRIBUTING.md at the root of the repository. It contains guidelines that apply to all contributors, including commit conventions and the pull request workflow.
Before you start
Install uv for Python environment management.
Development setup
Linting and formatting
From sdk:
Both targets use ruff via uvx. There are also diff-scoped variants that only run against files changed relative to main:
Tests
Tests live in ../tests/sdk (relative to sdk/), not inside the SDK package itself.
From sdk:
- Unit tests —
make testrunspyteston../tests/sdk, ignoring../tests/sdk/integration. - Integration tests —
make test-integrationstarts thesdkDocker profile (seetests/docker-compose.test.yml), then runs the full suite including../tests/sdk/integration. - Coverage —
make test-coveragerunspytestwith coverage reporting forsrc/rhesis. - Teardown —
make docker-down(ormake docker-cleanto remove volumes).
Run a single test after starting the Docker profile yourself:
Questions or need help?
- Contact us at support@rhesis.ai
- Create an issue in the repository
- Check our documentation