Client for OpenStack Blazar
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.

56 lines
1.6 KiB

minversion = 3.18.0
envlist = py3,pep8
ignore_basepython_conflict = True
basepython = python3
install_command = pip install {opts} {packages}
deps =
setenv = VIRTUAL_ENV={envdir}
commands = stestr run --slowest '{posargs}'
commands = flake8
show-source = true
builtins = _
# Ignore currently failing tests for now
# W504 skipped because it is overeager and unnecessary
ignore = E265,H405,W504
import_exceptions = blazarclient.i18n
deps =
commands = {posargs}
allowlist_externals = find
setenv =
PYTHON=coverage run --source blazarclient --parallel-mode
commands =
coverage erase
find . -type f -name "*.pyc" -delete
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report
deps =
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html