
Pyflakes is giving false positives on classes that use properties (https://bugs.launchpad.net/pyflakes/+bug/812958). Until this bug is fixed in the released version of pyflakes, I'm going to disable it from the default tox run, but keep it around for a specialized environment run (tox -e pyflakes) because it's still useful. We can reenable it when the bug fix is released. Change-Id: I7572b9a5d06322263af0752ab670eba73e079eb7
21 lines
460 B
INI
21 lines
460 B
INI
[tox]
|
|
envlist = py27,pep8
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
commands = py.test {posargs}
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv:py27]
|
|
|
|
[testenv:pep8]
|
|
deps = pep8
|
|
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg libra setup.py
|
|
|
|
[testenv:pyflakes]
|
|
deps = pyflakes
|
|
commands = pyflakes libra/client libra/common libra/mgm libra/worker
|