Pull requests are welcome. But please read the CycloneDX contributing guidelines first.
This project uses poetry. Have it installed and setup first.
To install dev-dependencies and tools:
poetry installThis project uses PEP8 Style Guide for Python Code.
This project loves sorted imports.
Get it all applied via:
poetry run isort .
poetry run autopep8 --in-place -r cyclonedx testsThis project uses Sphinx to generate documentation which is automatically published to readthedocs.io.
Source for documentation is stored in the docs folder in RST format.
You can generate the documentation locally by running:
cd docs
pip install -r requirements.txt
make htmlRun all tests in dedicated environments, via:
poetry run toxPlease sign off your commits, to show that you agree to publish your changes under the current terms and licenses of the project.
git commit --signed-off ...If you like to take advantage of pre-commit hooks, you can do so to cover most of the topics on this page when contributing.
pre-commit installAll our pre-commit checks will run locally before you can commit!