[tox]
envlist = py27,py33,py34,py35,py36,pypy

[testenv]
commands=nosetests tests

[testenv:py27]
deps = -rrequirements-py2.txt

[testenv:py35]
deps = -rrequirements-py3.txt

[testenv:py36]
deps = {[testenv:py35]deps}

[testenv:py37]
deps = {[testenv:py35]deps}

[testenv:py38]
deps = {[testenv:py35]deps}

[testenv:pypy]
deps = {[testenv:py27]deps}

[flake8]
ignore=E128,E402,E501,F403
# E128 continuation line under-indented for visual indent
# E402 module level import not at top of file
# E501 line too long (X > 79 characters)
# F403 'from xyz import *' used; unable to detect undefined names

[tox]
envlist = py27,py33,py34,py35,py36,pypy2,pypy3

[testenv]
commands=nosetests tests

[testenv:py27]
deps = -rrequirements-py2.txt

[testenv:py35]
deps = -rrequirements-py3.txt

[testenv:py36]
deps = {[testenv:py35]deps}

[testenv:py37]
deps = {[testenv:py35]deps}

[testenv:py38]
deps = {[testenv:py35]deps}

[testenv:pypy2]
deps = {[testenv:py27]deps}

[testenv:pypy3]
deps = {[testenv:py35]deps}

[flake8]
ignore=E128,E402,E501,F403
# E128 continuation line under-indented for visual indent
# E402 module level import not at top of file
# E501 line too long (X > 79 characters)
# F403 'from xyz import *' used; unable to detect undefined names

Rename pypy to pypy2; add pypy3 for coherence with Travis CI
Rename pypy to pypy2; add pypy3 for coherence with Travis CI
