[tox]
envlist = py26,py27,pypy,flake8
skip_missing_interpreters = true

[testenv]
deps = pytest
commands = py.test {posargs}

[testenv:flake8]
deps = flake8
commands = flake8
skip_install = true

[flake8]
ignore = E501
exclude = ./build

[pytest]
addopts = --doctest-modules
testpaths = idiokit

[tox]
envlist = py26,py27,pypy,flake8
skip_missing_interpreters = true

[testenv]
deps = pytest
commands = py.test {posargs}

[testenv:flake8]
deps = flake8
commands = flake8
skip_install = true

[flake8]
ignore = E501
exclude = build,dist,.git,.tox

[pytest]
addopts = --doctest-modules
testpaths = idiokit

Fix exclude paths for flake8 3.0.0
Fix exclude paths for flake8 3.0.0

Before flake8 3.0.0, the .tox directory was excluded by default. With
3.0.0 it needs to be explicitly excluded.
