Files
045f45c12c46aa92ecea7d12a010fe50179cc5a2
openstack-ansible-os_trove /tox.ini

97 lines
2.1 KiB
INI
Raw Normal View History

envlist = docs,linters,functional
[testenv]
/usr/bin/find . -type f -name "*.pyc" -delete
passenv =
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
TESTING_HOME
USER
setenv =
WORKING_DIR={toxinidir}
[testenv:docs]
doc8 doc
deps = {[testenv:docs]deps}
commands =
# Settings for doc8:
extensions = .rst
[testenv:releasenotes]
# environment used by the -infra templated docs job
[testenv:venv]
commands =
{posargs}
[testenv:pep8]
commands =
[flake8]
# Ignores the following rules due to how ansible modules work in general
# F403 'from ansible.module_utils.basic import *' used;
# unable to detect undefined names
commands =
[testenv:ansible-syntax]
commands =
[testenv:ansible-lint]
commands =
[testenv:functional]
commands =
commands =
{[testenv:bashate]commands}
{[testenv:ansible-lint]commands}
{[testenv:ansible-syntax]commands}