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 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

  1. Update the documentation if needed

  2. Add tests for new features

  3. Ensure all tests pass

  4. Update the CHANGELOG.md

  5. Submit a pull request

For more details, please see our CONTRIBUTING.md file.