Skip to content

Commit

Permalink
tox.ini: add py3x-doctest and py3x-dochtml helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
juarezr committed Dec 24, 2020
1 parent 9b707e1 commit b22880e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit b22880e

Please sign in to comment.