From 63347078ffe3955bb718cc3874d3c1daf14e0222 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 27 Aug 2019 15:13:07 -0400 Subject: [PATCH] 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 --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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} -- 2.16.6