When contributing to this repository, please first discuss the change you wish to make via issue or email with the owners of this repository before making a change.
First off, issues may arise when not ran inside a virtual environment. Therefore, make sure to follow the installation process before proceeding. Issues can be created here and please put the appropriate label.
hamb requires Python 3.6+
python3 -m venv venv source venv/bin/activate pip install -r requirements-dev.txt
Please install pre-commit git hooks to use Black autoformatting and flake8 PEP8 validations by running:
pre-commit install
Run tox to validate tests are working
tox
To run tox for multiple Python 3 versions, you can use pyenv to install and manage different Python versions locally.
If you see an error indicating a missing Python version, ie:
SKIPPED: InterpreterNotFound: python3.7
- See if you have the version specified:
pyenv versions
- If not, install it:
pyenv install 3.7.0
- Make available to your local directory:
pyenv local 3.7.0
- Run
tox
again
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Follow the pull request template provided.