Any contributions are welcome!
Open new issues at https://github.com/verda-cloud/sdk-python/issues.
You can open pull requests by following the steps:
Prerequisite: install uv.
-
Fork this repo on GitHub.
-
Clone your fork locally:
git clone git@github.com:{your_username}/sdk-python.git cd sdk-python -
Set up local environment and install dependencies:
uv sync
-
Create a new branch:
if it's a feature:
git checkout -b feature/new-feature-name
or a bugfix:
git checkout -b fix/some-bugfix
-
Make your local changes
-
Run tests:
uv run pytest
-
Commit and push:
git commit -am "Detailed commit message" git push origin {branch-name} -
Submit a pull request in GitHub.
- The pull request should include tests.
- Please add documentation docstrings and type hinting to any new feature.
To release a new version:
-
Bump version:
uv version --bump minor # also `major` or `patch` -
Update
CHANGELOG.md -
Commit and push:
git commit -m v$(uv version --short) CHANGELOG.md pyproject.toml uv.lock git tag v$(uv version --short) git push origin master git push --tags
-
Draft and publish a new release.
-
Check that package is automatically published to PyPI via GitHub action.