Adding basic tox set for pep8 and python 27
Change-Id: I627bfd11d071cc3c99869c672a6f3fe1565cd55a
This commit is contained in:
parent
a25bfe15fc
commit
fe584c0663
@ -1,3 +1,4 @@
|
||||
unittest2
|
||||
tox
|
||||
mock
|
||||
flake8
|
||||
nose
|
18
tox.ini
Normal file
18
tox.ini
Normal 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
|
Loading…
x
Reference in New Issue
Block a user