[tox]
envlist=py26,py27,py33,py34,pypy,flake8

[testenv]
commands=python setup.py test {posargs}

[testenv:flake8]
deps=flake8
commands=flake8 --ignore=E731 eve {posargs}

[tox]
envlist=py26,py27,py33,py34,pypy,flake8

[testenv]
commands=python setup.py test {posargs}

[testenv:flake8]
deps=flake8
basepython=python2
commands=flake8 --ignore=E731 eve {posargs}

Use python 2 for flake8-tests
Use python 2 for flake8-tests

There's an assignment of 'basestring' for to compatibility of both
python 2 and python 3. This causes flake8 to fail when executed with python 3
due to an unknown name.
This commit configures tox to run flake8 with python 2 even on systems
were python 3 is the default, to avoid problems here.
