Signed-off-by: JordanP <jordan.pittier@cloudwatt.com>
Change-Id: I8b2e0b375bb041f4f27933cc0f2ba6a5e22bc8a0
This commit is contained in:
JordanP 2014-03-05 23:35:23 +01:00
parent f557e03bc9
commit 59dabda444
1 changed files with 29 additions and 0 deletions

29
tox.ini Normal file
View File

@ -0,0 +1,29 @@
[tox]
envlist = pep8
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
OS_STDOUT_NOCAPTURE=False
OS_STDERR_NOCAPTURE=False
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build