tox.ini 433 Bytes
Newer Older
Anthony Sottile's avatar
Anthony Sottile committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
[tox]
project = add-trailing-comma
# These should match the travis env list
envlist = py27,py35,py36,pypy

[testenv]
deps = -rrequirements-dev.txt
commands =
    coverage erase
    coverage run -m pytest {posargs:tests}
    coverage report --show-missing --fail-under 100
    pre-commit install -f --install-hooks
    pre-commit run --all-files

[testenv:venv]
envdir = venv-{[tox]project}
commands =

[pep8]
ignore = E265,E309,E501