From b22880ee3c4e9621f44515960d14ea36c7774f52 Mon Sep 17 00:00:00 2001 From: Juarez Rudsatz Date: Tue, 6 Oct 2020 22:09:54 -0300 Subject: [PATCH] tox.ini: add py3x-doctest and py3x-dochtml helpers --- tox.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tox.ini b/tox.ini index 6d0016c0..35c75aed 100644 --- a/tox.ini +++ b/tox.ini @@ -35,6 +35,17 @@ deps = commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html +[testenv:{py36,py37,py38,py39}-doctest] +commands = + py36,py37,py38,py39: nosetests -v --with-doctest --doctest-options=+NORMALIZE_WHITESPACE petl -I"csv_py2\.py" -I"db\.py" + +[testenv:{py36,py37,py38,py39}-dochtml] +changedir = docs +deps = + -rrtfd_requirements.txt +commands = + sphinx-build -W -b singlehtml -d {envtmpdir}/doctrees . _build/singlehtml + [testenv:mysqldb] basepython = python2.7 setenv =