trivial: Remove noise

Change-Id: I6d52fdd59be2a3be50a803b2b19621455765bfaf
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2019-12-18 15:24:28 +00:00
parent b43036ac05
commit a857df2e5e

24
tox.ini
View File

@ -1,9 +1,10 @@
[tox]
minversion = 2.0
envlist = py27,py37,docs,pep8
ignore_basepython_conflict = True
[testenv]
install_command = pip install {opts} {packages}
basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
@ -11,28 +12,15 @@ deps =
commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
commands = flake8 {posargs}
[testenv:py27]
basepython = python2.7
commands =
{[testenv]commands}
[testenv:venv]
basepython = python3
commands = {posargs}
[flake8]
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
[testenv:cover]
basepython = python3
commands = python setup.py test --coverage --testr-args="{posargs}"
[testenv:docs]
basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
@ -40,14 +28,11 @@ commands =
doc8 --ignore-path "doc/source/history.rst" doc/source
sphinx-build -W doc/source doc/build
[testenv:releasenotes]
basepython = python3
deps = {[testenv:docs]deps}
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
@ -59,8 +44,11 @@ commands = bindep test
usedevelop = False
[testenv:lower-constraints]
basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
[flake8]
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build