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

[testenv]
commands = nosetests {posargs}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt

[testenv:cover]
commands = nosetests --with-coverage {posargs}

[testenv:flake8]
commands = flake8 {posargs}

[testenv:venv]
commands = {posargs}

[flake8]
#show-source = True
# E265 = comment blocks like @{ section, which it can't handle
ignore = E265
max-line-length = 120
exclude = .tox,.venv,build,dist,doc,git/ext/
