We welcome contributions to rossum-sdk by the community. If you are building an integration, see the Developer Docs page.
- Use
pre-committo avoid linting issues. - Submit a pull request from forked version of this repo, referencing any issues it addresses.
- Add tests for your changes to
tests/. - Add proper docstrings and update Sphinx documentation if applicable.
- Run tests and make sure all of them pass.
- Select any of the maintainers as a reviewer.
- After an approved review, when releasing, a
CollaboratorwithAdminrole shall do the following inmasterbranch:- Update the Changelog, describing all the changes included in the newest release
- Release a new version
We will review your pull request as soon as possible. Thank you for contributing!
git clone git@github.com:rossumai/rossum-sdk.gitMake sure that you have Python 3 installed. Version 3.10 or higher is required to run style checkers on pre-commit. On macOS, we recommend using brew to install Python.
For Windows, we recommend an official python.org release.
cd rossum-sdk
python -m venv .env
source .env/bin/activatepip install -e .This will make sure that your commits will have the correct coding style.
pre-commit install
pre-commit install-hooksThat's it. You should be ready to make changes, run tests, and make commits!
cd rossum-sdk
# create virtual environment
python -m venv .env
# activate virtual environment
source .env/bin/activate
# install sentry-python
pip install -e .
# install requirements
pip install -e ."[tests]"
# run tests
pytest tests/