From f1c2b8ff91dbea3cb8c71d71367df51e9ef757d4 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 25 Jun 2015 21:25:12 -0400 Subject: [PATCH] Add tox target to find missing requirements Change-Id: I49465a614540c6cc1a0e3f1b448f13db940c784c --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 6c86be990..0f3c63d93 100644 --- a/tox.ini +++ b/tox.ini @@ -53,3 +53,11 @@ import_exceptions = oslo_messaging.openstack.common._i18n oslo_messaging._i18n six.moves + +[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_messaging* --ignore-file=oslo_messaging/tests/* --ignore-file=tests/ oslo_messaging