ImperialCollegeLondon / python-template

A template for Python projects using cookiecutter
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Docs API reference is built when running pytest #145

Closed AdrianDAlessandro closed 2 weeks ago

AdrianDAlessandro commented 2 weeks ago

Pytest checks the docs folder when looking for tests, this runs gen_ref_nav.py and create the API reference files, which should be avoided.

Solution:

Ignore the docs/ folder in the pytest config