karbor/tox.ini
ting.wang 4b77c7c651 Clean flake8 ignore
There is no bad code violating PEP-8 and no need to ignore rules E123 and E125.
So clean the ignore list to do a more strict check.

Change-Id: Icab80c3d642acde01eabb13f402920e48f76edad
2016-01-14 18:50:02 +08:00

37 lines
730 B
INI

[tox]
minversion = 1.6
envlist = py34,py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
show-source = True
ignore =
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[hacking]
import_exceptions = smaug.i18n