tripleo-puppet-elements/tox.ini
Emilien Macchi 84b39187ae Add reno support
Change-Id: I2d69a6ab7cefe3935c56024234ecda17fa506cb6
2017-01-27 10:58:48 -05:00

30 lines
561 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py27,pep8
[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:py26]
commands =
[testenv:venv]
commands = {posargs}
[testenv:pep8]
commands = ./run-flake8
[flake8]
ignore = E125,H803
exclude = .venv,.tox,dist,*.egg,build,releasenotes
show-source = true
[testenv:releasenotes]
commands = bash -c tools/releasenotes_tox.sh