git-upstream/tox.ini
Darragh Bailey 555a9f13e3 Rename generate man page command
build_manpage is more obvious than create_manpage as most python
setuptools around generation of output ready for install are prefixed
with 'build_'.
2014-07-15 12:22:37 +01:00

32 lines
605 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:doc]
commands = python setup.py build_manpage
[testenv:venv]
commands = {posargs}
[flake8]
# E125 and H are intentionally ignored
ignore = E125,H
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg