28 lines
632 B
INI
28 lines
632 B
INI
[tox]
|
|
envlist = py26,py27,pep8,pylint
|
|
|
|
[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,doc,*.egg --ignore=E125 .
|
|
|
|
[testenv:pylint]
|
|
deps = pylint>=0.26.0
|
|
commands = python ./tools/lint.py ./oslo
|
|
python ./tools/lint.py ./tests
|
|
|
|
[testenv:cover]
|
|
setenv = NOSE_WITH_COVERAGE=1
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:pyflakes]
|
|
deps = pyflakes
|
|
commands = pyflakes oslo setup.py
|