Files
tripleo-image-elements/tox.ini
Wes Hayutin 51373e6046 remove py27 in tox.ini from tripleo-image-elements
Remove python 2 from envlist parameter. Check the link:

https://etherpad.openstack.org/p/drop-python2-support
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

The plan is drop the python 2 support from OpenStack in Ussuri release.
Move the basepython parameter.

Change-Id: I2661314199ea252d080dfff2b5daa5d3b87ccabb
2020-04-01 21:28:33 -06:00

30 lines
647 B
INI

[tox]
minversion = 2.0
skipsdist = True
envlist = pep8,py37
[testenv]
basepython = python3
usedevelop = True
install_command = pip install {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands=
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:pep8]
commands = ./run-flake8
[flake8]
ignore = E125,H803
exclude = .venv,.tox,dist,*.egg,build,releasenotes
show-source = true
[testenv:releasenotes]
commands = bash -c tools/releasenotes_tox.sh