b9f87c557c
Currently yamllint runs on the top level directory recursively. This presents an issue in that it is processing the .tox directory and all dependancies installed there-in. Without this patch all reviewes currently break on a yaml file in python-openstackclient in the .tox directory. Change-Id: I400131bf84a4cf48a83952efa7dfac8e4954b587
24 lines
496 B
INI
24 lines
496 B
INI
[tox]
|
|
envlist = py27,pep8
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
|
|
testr run {posargs}
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
yamllint openshift-origin hot cfn
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
builtins = _
|
|
exclude=.venv,.git,.tox,*lib/python*,private,.eggs
|