313cbcda44
There is no this directory openstack/common which was used to keep codes from oslo-incubator, we have retired oslo-incubator. Removing openstack/commonfrom all OpenStack code in favor of the Oslo libraries is a project wide goal for the Ocata release. So don't use this directory any more. We should drop it for improving searching efficiency. Change-Id: I65e1a75c65d44ff50c9ab0c2ff8c66faa99c227b
31 lines
858 B
INI
31 lines
858 B
INI
[tox]
|
|
envlist = py27,pypy,pep8
|
|
minversion = 2.0
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
usedevelop = True
|
|
install_command =
|
|
{toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
whitelist_externals = find
|
|
commands =
|
|
find . -type f -name "*.pyc" -delete
|
|
nosetests
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
max-line-length = 120
|
|
# TODO: ignored checks should be enabled in the future
|
|
# H405 multi line docstring summary not separated with an empty line
|
|
# H904 Wrap long lines in parentheses instead of a backslash
|
|
ignore = F821,H405,H904,E126,E125,H306,E302,E122
|
|
exclude=.venv,.git,.tox,dist,*egg,build
|