kayobe-config/tox.ini
Mark Goddard 4a45ed1deb Update TOX_CONSTRAINTS_FILE
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: I6fbe09f7f5855d3a4a21f68430a8318da562880b
2020-11-19 10:23:13 +00:00

15 lines
299 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]
commands =
yamllint etc/kayobe