Added running doctests inside tox Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
diff --git a/.gitignore b/.gitignore index c8d50fc..5cce36f 100644 --- a/.gitignore +++ b/.gitignore
@@ -104,4 +104,3 @@ .mypy_cache/ *.sw* -conda.tmp.yml
diff --git a/tox.ini b/tox.ini index 2d6aad1..bfbc74c 100644 --- a/tox.ini +++ b/tox.ini
@@ -17,13 +17,14 @@ flake8 pytest commands = - check-manifest --ignore tox.ini,tests,*.pyc + check-manifest --ignore tox.ini,tests,*.pyc,*.swp python --version # This repository uses a Markdown long_description, so the -r flag to # `setup.py check` is not needed. If your project contains a README.rst, # use `python setup.py check -m -r -s` instead. python setup.py check -m -s flake8 . + pytest --doctest-modules -vv v2x pytest -vv [flake8] exclude = .tox,*.egg,build,data