Contributing
Installation
OS X (zsh)
To install everything in developer mode:
pip install -e '.[test,examples]'
OS X (bash), Windows (cmd prompt)
To install everything in developer mode:
pip install -e .[test,examples]
Testing
Using tox (recommended)
If you don’t already have tox installed, you can pip install it:
pip install tox
To run unit tests:
tox run
Using pytest
To run unit tests:
pytest --cov=pyest --cov-report term-missing tests
To run unit tests with performance benchmarking:
pytest --benchmark-save=benchmark --benchmark-compare --cov=pyest --cov-report term-missing tests
Documentation
To build the documentation:
pip install sphinx sphinx-rtd-theme
Then
cd docs
make html
Pull Request Process
Update the documentation if needed
Add tests for new features
Ensure all tests pass
Update the CHANGELOG.md
Submit a pull request
For more details, please see our CONTRIBUTING.md file.