windmill-ops/tox.ini
Paul Belanger 58d9d43115 Rename openstack roles to windmill
This is because we are now hosting the roles on opendev.org/windmill.

Change-Id: Icdef724140607862782b37b5d300525deb27c1d5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-04-20 15:14:20 -04:00

37 lines
689 B
INI

[tox]
minversion = 1.4.2
envlist = linters
skipsdist = True
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:linters]
basepython = python3
whitelist_externals = bash
commands =
yamllint -s .
flake8
bash -c "ansible-lint -x 405 -x 306 playbooks/*/*.yaml"
[testenv:venv]
basepython = python3
commands = {posargs}
passenv =
HOME
SSH_AUTH_SOCK
TERM
USER
setenv =
ANSIBLE_CALLBACK_PLUGINS = {envsitepackagesdir}/ara/plugins/callbacks
PYTHONUNBUFFERED = 1
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build