9b854e7729
This change fix python3 compatibility: * replace except obj, name with except obj as name * use print function * replace iteritems by six.iteritems * replace xrange by range * convert items() result to list Change-Id: I70364e47541274d446c4449f820dce3e0b331b27
19 lines
382 B
INI
19 lines
382 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8, py27, py36
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = nosetests
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[flake8]
|
|
show-source = true
|
|
max-line-length = 80
|
|
exclude = ENV,.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
|