doc8/tox.ini
Christian Berendt eb757e9b8f Add Pylint testenv environment
Change-Id: Ib1425bba847e32a7c93c3e3c1bb26bcb1d03c64c
2014-08-15 14:32:30 +02:00

34 lines
642 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests {posargs}
[testenv:pep8]
commands = flake8 {posargs}
[testenv:pylint]
commands = pylint doc8
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
ignore = H302,F401
builtins = _
show-source = True
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build