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.

45 lines
1.1 KiB

minversion = 3.2.0
envlist = py3,pep8,docs
skipsdist = True
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file
usedevelop = True
basepython = python3
deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
commands = flake8
commands = {posargs}
commands =
coverage erase
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report --show-missing
show-source = True
# E126: from PEP8 upstream, 'most folk agree that its bad'.
# E128: like E126.
# E741 ambiguous variable name 'l'
# W503 line break before binary operator
ignore = E123,E125,E126,E128,E741,W503,H803
builtins = _