- Fork the repo, develop and test your code changes.
- Ensure commit messages clearly define the changes that have been made.
- Create a pull request.
Any features added must be fully tested and documented, with examples supplied in the pull request. The feature must support the lowest Python version that the SDK supports (see the GitHub workflow tests file for all supported versions). The feature must not introduce any unnecessary dependencies (although introducing a new third party library is open for discussion if absolutely required).
- Install the pre-commit framework
- Run
pre-commit install
After cloning the repository, run the following to install dependencies:
pip install -r requirements.txt
pip install -e .[dev]
Running the tests:
pytest
- The pre-commit hook uses the
black
formatter to auto-format any code when committing, along withflake8
for style guide enforcement.