cloudpulse/tox.ini
deepakmourya 45b7cbe59c Remove support for py34.
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I75de7a38b7a339bf6ba1927a044537f975205569
2017-06-22 10:28:44 +05:30

44 lines
983 B
INI

[tox]
minversion = 1.6
envlist = py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:genconfig]
commands = oslo-config-generator --config-file etc/cloudpulse/cloudpulse-config-generator.conf
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[testenv:bandit]
deps = bandit
commands = bandit -c bandit.yaml -r cloudpulse -p gate
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build