Files
git-upstream/tox.ini
Darragh Bailey dfe55f6827 Update hacking, enable some checks and fix style issues
Change-Id: Idf488af73dca3aee7c024bea4d93361be2008ce0
2015-01-29 20:46:45 +00:00

31 lines
567 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]
ignore=H236,H40
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg