[tox] envlist = py26,py27,pep8 [testenv] sitepackages = True setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=C NOSE_WITH_OPENSTACK=1 NOSE_OPENSTACK_COLOR=1 NOSE_OPENSTACK_RED=0.05 NOSE_OPENSTACK_YELLOW=0.025 NOSE_OPENSTACK_SHOW_ELAPSED=1 NOSE_OPENSTACK_STDOUT=1 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = nosetests {posargs} [tox:jenkins] sitepackages = True downloadcache = ~/cache/pip [testenv:pep8] sitepackages = False commands = flake8 {posargs} [testenv:pylint] setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = pylint --rcfile=pylintrc anvil [testenv:cover] setenv = NOSE_WITH_COVERAGE=1 [testenv:venv] commands = {posargs} [flake8] ignore = H302,H402,H403,E121,E123,E124,E125,E126,E127,E128,E202,E501 builtins = _ exclude = .venv,.tox,dist,doc,*egg,.git,build,tools