tuskar/tox.ini
Dougal Matthews d41938e4fe Enable gating with flake8 on E121
Remove the ignore and fix the two minor violations of E121.

Change-Id: If9e3ef2c9994e50306e93394665a67d22c45566e
2014-02-13 13:01:20 +00:00

36 lines
767 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,pep8
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
{toxinidir}/tools/config/check_uptodate.sh
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
flake8
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
# H302 import only modules.
ignore = E122,E123,E124,E126,E127,E128,H302
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools