Add tox target to find missing requirements
Change-Id: I8c0f7bb9718c851e20a1ea7e2d066cf5f664e9a1
This commit is contained in:
parent
8811644c41
commit
8d1bb486fd
10
tox.ini
10
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = py26,py27,py34,pep8
|
||||
envlist = py26,py27,py34,pep8,pip-missing-reqs
|
||||
# NOTE(dhellmann): We cannot set skipdist=True
|
||||
# for oslo libraries because of the namespace package.
|
||||
#skipsdist = True
|
||||
@ -60,3 +60,11 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
[hacking]
|
||||
import_exceptions =
|
||||
oslo_db._i18n
|
||||
|
||||
[testenv:pip-missing-reqs]
|
||||
# do not install test-requirements as that will pollute the virtualenv for
|
||||
# determining missing packages
|
||||
# this also means that pip-missing-reqs must be installed separately, outside
|
||||
# of the requirements.txt files
|
||||
deps = pip_missing_reqs
|
||||
commands = pip-missing-reqs -d --ignore-module=oslo_db* --ignore-module=pkg_resources --ignore-file=oslo_db/tests/* oslo_db
|
Loading…
x
Reference in New Issue
Block a user