ec00f2981f
* tox.ini: Upgrade pip within tox virtualenvs for openstack-infra/config. Without doing this, tox uses the system pip version within the constructed virtualenv, and may inadvertently pull in prerelease versions of dependencies from PyPI. Note that the option used requires tox 1.6 or newer. Change-Id: Ie5276a4437e72c5f5a8d1ecf5a7c07977fa5bd77
21 lines
371 B
INI
21 lines
371 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pyflakes,pep8
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
|
|
[testenv:pyflakes]
|
|
deps = pyflakes
|
|
commands = pyflakes modules setup.py
|
|
|
|
[testenv:pep8]
|
|
deps = pep8
|
|
commands = pep8 --count --repeat --show-source --exclude=.tox setup.py
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
deps = Sphinx
|
|
docutils==0.9.1
|
|
oslo.sphinx
|