1f0704e462
Also adds a test to ensure that they stay that way. Change-Id: Ib34a81885f1eda28e85d04b727e8b810b274cb44
34 lines
677 B
INI
34 lines
677 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .tox
|
|
ignore = E125,H
|
|
select = H231
|
|
|
|
[testenv:bashate]
|
|
commands = {toxinidir}/tools/run-bashate.sh
|
|
|
|
[testenv:nodepool]
|
|
commands = nodepool -c {toxinidir}/modules/openstack_project/templates/nodepool/nodepool.yaml.erb config-validate
|
|
|
|
[testenv:modulesenv]
|
|
commands = python {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env
|