Unit tests are written with the unittest
module (compatible with pytest
):
$ python3 -m pip install -e .[tests]
$ python3 -m pip install -e .[coverage]
$ pytest --cov delairstack --cov-report term --cov-report html
Building the documentation requires pandoc.
-
First install the dependencies:
$ python3 -m pip install -e .[documentation]
-
Build the documentation:
$ cd docs docs$ make html
The generated documentation can be browsed opening the file
docs/_build/html/index.html
in a web browser. -
(Optional) Automatic build while editing intensively the documentation
docs$ python3 -m pip install sphinx-autobuild docs$ sphinx-autobuild docs _build/html