Include doctests in the test suite

- use xdoctest to validate all code snippets in docstrings
- add xdoctest to the nox session "test"
This commit is contained in:
Alexander Hess 2020-08-05 00:02:40 +02:00
commit 126dcf7c39
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
4 changed files with 58 additions and 7 deletions

View file

@ -1,4 +1,10 @@
"""Source code for the urban-meal-delivery research project."""
"""Source code for the urban-meal-delivery research project.
Example:
>>> import urban_meal_delivery as umd
>>> umd.__version__ != '0.0.0'
True
"""
from importlib import metadata as _metadata