90 lines
2.3 KiB
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

minversion = 2.0
envlist = py27,py35,py36,pep8,pylint,docs
skipsdist = True
usedevelop = True
deps =
install_command = pip install {opts} {packages}
setenv =
PYTHON=coverage run --source freezerclient --parallel-mode
OS_TEST_PATH = ./freezerclient/tests/unit
commands =
find . -type f -name "*.py[c|o]" -delete
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report -m
rm -f .coverage
rm -rf .testrepository
whitelist_externals =
python_files = test_*.py
norecursedirs = .tox .venv
basepython = python3
commands = {posargs}
basepython = python2.7
basepython = python3.5
basepython = python3.6
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
basepython = python3
commands = flake8 freezerclient
basepython = python3
commands = pylint --rcfile .pylintrc freezerclient
# Ignored hackings:
# H104 -> empty file, only comments
# H202 -> assertRaises(Exception, ...) too broad
# H404 -> Multi line docstrings should start without a leading new line.
# H405 -> Multi line docstrings should start with a one line summary followed by an empty line.
ignore = H104,H202,H404,H405
# H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
show-source = True
exclude = .venv,.tox,dist,doc,*egg,releasenotes
basepython = python3
deps =
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
basepython = python3
deps =