dumb-init/tox.ini
2017-10-13 08:54:33 -07:00

27 lines
518 B
INI

[tox]
envlist = py27,py36,gcov
[testenv]
deps = -r{toxinidir}/requirements-dev.txt
passenv = SSH_AUTH_SOCK
commands =
python -m pytest
[testenv:gcov]
skip_install = True
commands =
{toxinidir}/ci/gcov-build {envbindir}
{[testenv]commands}
{toxinidir}/ci/gcov-report
[testenv:pre-commit]
basepython = /usr/bin/python3.6
commands = pre-commit {posargs:run --all-files}
[flake8]
max-line-length = 119
[pep8]
# autopep8 will rewrite lines to be shorter, even though we raised the length
ignore = E501