From: Thanh Ha Date: Tue, 27 Aug 2019 19:13:07 +0000 (-0400) Subject: Configure basepython to python3 X-Git-Tag: v0.3.1~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=63347078ffe3955bb718cc3874d3c1daf14e0222;p=releng%2Fdocs-conf.git Configure basepython to python3 More and more libraries that we are pulling in require Python 3 so to avoid having to play the pin dependencies whack-a-mole game let's bump or base python where possible to python3. Change-Id: Ib25f0290675d2855ed29905331eb76ecbe39fdbf Signed-off-by: Thanh Ha --- diff --git a/tox.ini b/tox.ini index c30568b..aacc8d4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,14 @@ [tox] minversion = 1.9 envlist = - check-hooks, coala, docs, docs-linkcheck, + pre-commit, py27 [testenv] +basepython = python3 deps = -rrequirements.txt commands = @@ -29,21 +30,25 @@ commands = skip_install=True [testenv:docs] +basepython = python3 deps = -rdocs/requirements.txt commands = sphinx-build -j auto --keep-going -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html [testenv:docs-linkcheck] +basepython = python3 deps = -rdocs/requirements.txt commands = sphinx-build -j auto --keep-going -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck [testenv:pre-commit] +basepython = python3 deps = pre-commit commands = pre-commit install --hook-type commit-msg pre-commit run --all-files [testenv:reno] +basepython = python3 deps = -rdocs/requirements.txt commands = reno {posargs:--help}