From 440570c0eec5c4e273a6c32e105d6e7e72c7102c Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 25 Jun 2015 21:32:47 -0400 Subject: [PATCH] Add tox target to find missing requirements Change-Id: I44ce0015cd12148120ae590362473f15ba376285 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 7db19c14..2d40d24e 100644 --- a/tox.ini +++ b/tox.ini @@ -40,3 +40,11 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__in import_exceptions = oslo_vmware._i18n oslo_vmware.tests.base tests.base + +[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_vmware* --ignore-file=oslo_vmware/tests/* oslo_vmware