Adding basic tox set for pep8 and python 27

Change-Id: I627bfd11d071cc3c99869c672a6f3fe1565cd55a
This commit is contained in:
John Vrbanac 2014-01-20 17:56:15 -06:00
parent a25bfe15fc
commit fe584c0663
2 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,4 @@
unittest2
tox
mock
flake8
nose

18
tox.ini Normal file
View File

@ -0,0 +1,18 @@
[tox]
envlist=pep8,py27
[testenv]
setenv=VIRTUAL_ENV={envdir}
deps=-r{toxinidir}/pip-requires
-r{toxinidir}/test-requirements.txt
[testenv:py27]
commands=nosetests
[testenv:pep8]
commands=flake8
[flake8]
ignore=F401
exclude=.git,.idea,docs,.tox,bin,dist,tools,*.egg-info