23 lines
498 B
INI
23 lines
498 B
INI
[tox]
|
|
envlist = py26,py27,pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
commands = nosetests --with-doctest --exclude-dir=tests/testmods {posargs}
|
|
|
|
[testenv:pep8]
|
|
deps = pep8==1.3.3
|
|
commands = pep8 --repeat --show-source --exclude=.tox,dist,*.egg --ignore=E125 .
|
|
|
|
[testenv:cover]
|
|
setenv = NOSE_WITH_COVERAGE=1
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:pyflakes]
|
|
deps = pyflakes
|
|
commands = pyflakes oslo setup.py
|