[tox]
envlist = py27,py35,py36

[testenv]
# necessary to make cov find the .coverage file
# see http://blog.ionelmc.ro/2014/05/25/python-packaging/
usedevelop = true
deps=-rrequirements-dev.txt
commands=
    py.test --cov mappyfile docs/examples/api/ misc/ tests/
    flake8 mappyfile --max-line-length=120
    flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 tests

[tox]
envlist = py27,py35,py36

[testenv]
# necessary to make cov find the .coverage file
# see http://blog.ionelmc.ro/2014/05/25/python-packaging/
usedevelop = true
deps=-rrequirements-dev.txt
commands=
    py.test --ignore=tests/mapfiles --cov mappyfile docs/examples/api/ misc/ tests/
    flake8 mappyfile --max-line-length=120
    flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 --exclude=tests/mapfiles tests

Exclude submodules from flake8 and tests
Exclude submodules from flake8 and tests
