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.

54 lines
1.4 KiB

envlist = py39,py38,py36,pep8,docs
minversion = 3.18.0
ignore_basepython_conflict = True
basepython = python3
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
deps =
commands = stestr run --slowest {posargs}
commands = flake8
distribute = false
commands = {posargs}
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
deps =
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
setenv =
PYTHON=coverage run --source tackerclient --parallel-mode
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
# E125 continuation line does not distinguish itself from next logical line
# W504 line break after binary operator
ignore = E125,W504
show-source = true
# F821 undefined name 'unicode'
# if isinstance(config, str) or isinstance(config, unicode):
builtins = unicode