15ea871979
Add a warning explaining that options in groups cannot be used with the interpolation syntax. Reformat note to use directive so it is highlighted. Add "docs" section to tox.ini to make testing doc build easier. Change-Id: If5106aa44d4c87abe84a7fb7a250541bba9f5068
30 lines
557 B
INI
30 lines
557 B
INI
[tox]
|
|
distribute = False
|
|
envlist = py33,py26,py27,pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:cover]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
commands =
|
|
python setup.py testr --coverage
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = H305
|
|
exclude = .tox,dist,doc,*.egg,build
|
|
builtins = _
|