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

43 lines
936 B

envlist = py36,py35,py27,pep8,docs
minversion = 2.0
skipsdist = True
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
commands = flake8
commands = {posargs}
setenv =
PYTHON=coverage run --source $project --parallel-mode
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
commands =
oslo-config-generator --config-file=config-generator.conf
python tools/ doc/source/tools
commands = python build_sphinx
# E123, E125 skipped as they are invalid PEP-8
ignore = W605, W503, W504, E731
show-source = true
builtins = _