21f972fb85
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Change-Id: Ie89a62e7d50402f0d5afcbbedc4a56f177cf54b6
16 lines
320 B
INI
16 lines
320 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
install_command = pip install {opts} {packages}
|
|
deps =
|
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
commands =
|
|
yamllint etc/kayobe
|