Contributing¶
If you want to contribute that is awesome. Remember to be nice to others in issues and reviews.
Please remember to write tests for the cool things you create or fix.
Unsure about something? No worries, open an issue.
Commit messages¶
Since python-semantic-release is released with python-semantic-release we need the commit messages to adhere to the Conventional Commits Specification. Although scopes are optional, scopes are expected where applicable. Changes should be committed separately with the commit type they represent, do not combine them all into one commit.
If you are unsure how to describe the change correctly just try and ask about it in your pr. If we think it should be something else or there is a pull-request without tags we will help out in adding or changing them.
Releases¶
This package is released by python-semantic-release on each master build, thus if there are changes that should result in a new release it will happen if the build is green.
Development¶
Install this module and the development dependencies
bash scripts/dev_setup.sh
And if you’d like to build the documentation locally
bash scripts/watch_docs.sh
Testing¶
To test your modifications locally:
# Run type-checking, all tests across all supported Python versions
tox
# Run all tests for your current installed Python version (with full error output)
pytest -vv
Building¶
This project is designed to be versioned and built using the tool.semantic_release
configuration in pyproject.toml. The setting tool.semantic_release.build_command defines
the command to run to build the package.
The following is a copy of the build_command setting which can be run manually to build the
package locally:
bash scripts/build.sh