Contributions are welcome to this repo, but we do have a few guidelines for contributors.
All submissions, including those from project members, are required to go through review. We use GitHub Pull Requests for this workflow, which should be linked with an issue for tracking purposes. A GitHub action will be run against your PR to ensure code standards have been applied.
pre-commit is used to ensure that all files have consistent formatting and to avoid committing secrets.
-
Install pre-commit in a virtual python environment or globally: see instructions
-
Fork and clone this repo
-
Install pre-commit hook to git
E.g.
pip install -r requirements-dev.txt pre-commit install --hook-type commit-msg --hook-type pre-commit
-
Create a new branch for changes
-
Commit and push changes for PR
The hook will ensure that
pre-commit
will be run against all staged changes duringgit commit
.