* added flake8 and flake8-import-order to travis for py27 * fixed a test that fails from time to time depending on an order of a dict * flake8 tweaks for the entire codebase excluding tests
23 lines
448 B
INI
23 lines
448 B
INI
[tox]
|
|
envlist = {py26,py27,py33,py34,py35,pypy,pypy3}-{mg27,mg28},flake8
|
|
|
|
[testenv]
|
|
commands =
|
|
python setup.py nosetests {posargs}
|
|
deps =
|
|
nose
|
|
mg27: PyMongo<2.8
|
|
mg28: PyMongo>=2.8,<3.0
|
|
mg30: PyMongo>=3.0
|
|
mgdev: https://github.com/mongodb/mongo-python-driver/tarball/master
|
|
setenv =
|
|
PYTHON_EGG_CACHE = {envdir}/python-eggs
|
|
passenv = windir
|
|
|
|
[testenv:flake8]
|
|
deps =
|
|
flake8
|
|
flake8-import-order
|
|
commands =
|
|
flake8
|