heat-templates/tox.ini
Andreas Jaeger 2a7fe20efa Fix pep8 gate
Blacklist .eggs directory so that pep8 gate succeeds again. Infra jobs
recently been enhanced and now create a .eggs directory that can be
ignored since it is not part of this repo.

Change-Id: Iad81e5e717cd37ac67e757ea85484ca2dea28a6f
2015-12-22 18:27:31 +01:00

23 lines
451 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
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
builtins = _
exclude=.venv,.git,.tox,*lib/python*,private,.eggs