74eee09e4b
Implements: blueprint initial-skeleton Change-Id: If6559f5e1adf4aee70f5d92b5dfcf9fead86b205
30 lines
723 B
INI
30 lines
723 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = docs,py26,py27,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
doc8 specs doc/source octavia \
|
|
CONSTITUTION.rst HACKING.rst README.rst ROADMAP.rst
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
ignore = None
|
|
show-source = true
|
|
builtins = _
|
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios
|
|
|
|
[doc8]
|
|
max-line-length = 79
|