From b2e8a62998debd1ae45db8ced36457772f33aff7 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 25 Jun 2015 22:19:21 -0400 Subject: [PATCH] Add tox target to find missing requirements Change-Id: I708c2dbc4b43a7a805b5424664992a216e996a0f --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index f182c21..5b049c6 100644 --- a/tox.ini +++ b/tox.ini @@ -38,3 +38,11 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__in [hacking] import_exceptions = oslo_i18n._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_i18n* --ignore-file=oslo_i18n/tests/* --ignore-file=tests/ oslo_i18n