diff options
author | Hervé Beraud <hberaud@redhat.com> | 2019-12-20 11:02:29 +0100 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2020-01-08 19:34:02 +0100 |
commit | d22760ad4924ef56e529bbe6caa173446f2f1bf7 (patch) | |
tree | b27af15523609b136e0f2cd6bf072830218c98dd | |
parent | b52c8cd247e9b185d176bfbc4c24c5a2cb35e5be (diff) | |
download | oslo-log-d22760ad4924ef56e529bbe6caa173446f2f1bf7.tar.gz |
tox: Trivial cleanup
Move 'basepython' to the top-level 'testenv'.
Change-Id: I7269b71668b7d37886bdfd02a188cc9d6fd0c958
-rw-r--r-- | tox.ini | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,8 +1,10 @@ [tox] -minversion = 2.0 +minversion = 3.1 envlist = py27,py36,py37,pep8 +ignore_basepython_conflict = True [testenv] +basepython = python3 whitelist_externals = find deps = @@ -14,18 +16,15 @@ commands = stestr slowest [testenv:pep8] -basepython = python3 commands = flake8 # Run security linter bandit -r oslo_log -x tests -n5 [testenv:venv] -basepython = python3 commands = {posargs} [testenv:docs] -basepython = python3 whitelist_externals = rm deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} @@ -35,7 +34,6 @@ commands = sphinx-build -a -E -W --keep-going -b html doc/source doc/build/html [testenv:releasenotes] -basepython = python3 whitelist_externals = rm deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} @@ -45,7 +43,6 @@ commands = sphinx-build -a -E -W --keep-going -b html releasenotes/source releasenotes/build/html [testenv:cover] -basepython = python3 commands = coverage erase {[testenv]commands} @@ -55,11 +52,9 @@ commands = coverage report --show-missing [testenv:bandit] -basepython = python3 commands = bandit -r oslo_log -x tests -n5 [testenv:lower-constraints] -basepython = python3 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt |