062f4a9c8d
Change-Id: Id843f60e643f481fffdbd44ca9862b7fb4d0cf90 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
32 lines
537 B
INI
32 lines
537 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 .
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|
|
passenv =
|
|
HOME
|
|
SSH_AUTH_SOCK
|
|
TERM
|
|
USER
|
|
|
|
[flake8]
|
|
# E123, E125 skipped as they are invalid PEP-8.
|
|
|
|
show-source = True
|
|
ignore = E123,E125
|
|
builtins = _
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|