git-upstream/tox.ini

32 lines
591 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = pep8, py27
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:cover]
commands =
python setup.py testr --coverage
[testenv:docs]
commands = python setup.py build_manpage
[testenv:venv]
commands = {posargs}
[flake8]
# H is intentionally ignored
ignore = H
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg