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 <zxiiro@gmail.com>
[tox]
minversion = 1.9
envlist =
- check-hooks,
coala,
docs,
docs-linkcheck,
+ pre-commit,
py27
[testenv]
+basepython = python3
deps =
-rrequirements.txt
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}