Contributing
If you want to add a new algorithm, example, feature, report or fix a bug, please open an issue on GitHub. We'd love to have you involved in any capacity!
If you are interested in contributing to posteriors
, please follow these steps:
- Fork the repo from GitHub
and clone it locally:
git clone git@github.com/YourUserName/posteriors.git cd posteriors
- Install the development dependencies and pre-commit hooks:
pip install -e '.[test, docs]' pre-commit install
- Add your code. Add your tests. Update the docs if needed. Party on!
New methods should listbuild
,state
,init
andupdate
at the top of the module in order. - Check any changes in the docs render nicely:
and navigate to
mkdocs serve
http://localhost:8000/
in your browser.1 - Make sure to run the linter, tests and check coverage:
pre-commit run --all-files python -m pytest --cov=posteriors --cov-report term-missing
- Commit your changes and push your new branch to your fork.
- Open a pull request on GitHub.
Note
Feel free to open a draft PR to discuss changes or get feedback.
-
For more docs info check out mkdocs-material. ↩