Skip to content

Commit

Permalink
tox: Use python3 for all testenvs
Browse files Browse the repository at this point in the history
Change-Id: I8ec8c65be8448b49ed915262c9026281958e982a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
  • Loading branch information
stephenfin committed Jan 16, 2020
1 parent 22269ef commit 5afa906
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[tox]
envlist = pep8,docs,py27,py3{4,5,6,7}
ignore_basepython_conflict = true

[testenv]
basepython = python3
# See "testing behind a proxy"
# @ https://review.openstack.org/#/q/I764ed51314c8e2d0572d1f0
passenv =
Expand All @@ -25,7 +27,6 @@ deps =
commands = flake8

[testenv:docs]
basepython = python3
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
Expand All @@ -37,5 +38,5 @@ commands = {posargs}

[flake8]
ignore = E125,H202,H405,H904,W504
show-source = True
show-source = true
exclude = .venv,.git,.tox,dist,doc,releasenotes,*lib/python*,*egg,build

0 comments on commit 5afa906

Please sign in to comment.