Merge "Adding basic tox set for pep8 and python 27"
This commit is contained in:
commit
dbc8efc487
@ -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