If you are interested in contributing to hoggorm, your contributions will fall into three categories:
-
You want to implement a new feature: ....
-
You want to fix a bug:
- Feel free to send a Pull Request any time you encounter a bug. Please provide a clear and concise description of what the bug was. If you are unsure about if this is a bug at all or how to fix, post about it in an issue.
-
Improvement of documentation:
Once you finish implementing a feature or bug-fix, please send a Pull Request to https://github.com/olivertomic/hoggorm
To develop hoggorm on your machine, here are some tips:
- Create and activate an environment for hoggorm
conda create -n envdevhoggorm python=3.6
conda activate envdevhoggorm
- Clone a copy of hoggorm from source:
git clone https://github.com/olivertomic/hoggorm.git
- Install hoggorm in
dev
andtest
mode:
cd hoggorm
pip install -e .[dev,test]
- Ensure that you have a working hoggorm installation by running the entire test suite with
python setup.py test
hoggorm's testing is located under test/
.
Run the entire test suite with
python setup.py test
- American English is used
- We use Semantic Versioning (https://semver.org/)
hoggorm uses GitHub Action in combination with CodeCov for continuous integration.
Everytime you send a Pull Request, your commit will be built and checked against the hoggorm guidelines:
- Ensure that your code is formatted correctly by testing against the styleguides of
flake8
andpycodestyle
:
pycodestyle hoggorm test examples
flake8 hoggorm test examples
If you do not want to format your code manually, we recommend to use yapf
.
python setup.py test