Firewall services for OpenStack Neutron.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.4 KiB

envlist = py27,py33,py34,pep8,pylint
minversion = 1.6
skipsdist = True
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -egit+
whitelist_externals = sh
commands =
sh tools/ '{posargs}'
# there is also secret magic in which lets you run in a fail only
# mode. To do this define the TRACE_FAILONLY environmental variable.
setenv = OS_TEST_PATH=./neutron_fwaas/tests/functional
commands =
python testr --slowest --testr-args='{posargs}'
setenv = OS_TEST_PATH=./neutron_fwaas/tests/functional
OS_ROOTWRAP_CMD=sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
commands =
python testr --slowest --testr-args='{posargs}'
sitepackages = True
downloadcache = ~/cache/pip
commands =
whitelist_externals = sh
commands = python ./tools/ ./neutron_fwaas ./tools/
commands =
python testr --coverage --coverage-package-name=neutron_fwaas --testr-args='{posargs}'
commands = {posargs}
commands = python build_sphinx
# E125 continuation line does not distinguish itself from next logical line
# E126 continuation line over-indented for hanging indent
# E128 continuation line under-indented for visual indent
# E129 visually indented line with same indent as next logical line
# E265 block comment should start with ‘# ‘
# H305 imports not grouped correctly
# H405 multi line docstring summary not separated with an empty line
# TODO(marun) H404 multi line docstring should start with a summary
ignore = E125,E126,E128,E129,E265,H305,H404,H405
show-source = true
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios
deps =
commands =
pylint --rcfile=.pylintrc --output-format=colorized {posargs:neutron_fwaas}
import_exceptions = neutron.i18n
local-check-factory = neutron.hacking.checks.factory