OpenStack Compute (Nova) Client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.4 KiB

# noted to use py34 you need virtualenv >= 1.11.4
envlist = py26,py27,py33,py34,pypy,pep8
minversion = 1.6
skipsdist = True
usedevelop = True
# tox is silly... these need to be separated by a newline....
whitelist_externals = find
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
commands =
find . -type f -name "*.pyc" -delete
bash tools/ '{posargs}'
# there is also secret magic in which lets you run in a fail only
# mode. To do this define the TRACE_FAILONLY environmental variable.
commands = flake8 {posargs}
commands = {posargs}
setenv =
OS_TEST_PATH = ./novaclient/tests/functional
commands = python testr --coverage --testr-args='{posargs}'
downloadcache = ~/cache/pip
# Following checks should be enabled in the future.
# H404 multi line docstring should start without a leading new line
# H405 multi line docstring summary not separated with an empty line
# Following checks are ignored on purpose.
# Additional checks are also ignored on purpose: F811, F821
ignore = F811,F821,H404,H405
show-source = True
import_exceptions = novaclient.i18n