uv syncuv build # build to dist/
uv run ruff check . # lintRun all checks:
uv run ruff format src/ tests/ # auto-fix formatting
uv run ruff check src/ tests/ # check for errors
uv run pytest tests/test_client.py -v # unit testsuv run pytest tests/test_client.py -v # unit tests only
uv run pytest tests/test_integration.py -v # live API tests (requires SGAI_API_KEY)For integration tests, set SGAI_API_KEY in your environment or .env file.
Use conventional commits:
feat:new featurefix:bug fixrefactor:code change (no new feature, no bug fix)chore:maintenance (deps, config)test:add/update testsdocs:documentation
- Fork and create a branch from
main - Make changes
- Run all checks (see above)
- Submit PR to
main
MIT - contributions are licensed under the same license.