From eecaaeddaa44fa1718d7e58471b7cc6b6be23b17 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 25 Jun 2015 22:24:11 -0400 Subject: [PATCH] Add tox target to find missing requirements Change-Id: I2cfa6c2f5f763d710b2ac2f07bdf5aa80bc4a408 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 48cc4f4..20a1e73 100644 --- a/tox.ini +++ b/tox.ini @@ -46,3 +46,11 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build [hacking] import_exceptions = oslo_concurrency._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_concurrency* --ignore-file=oslo_concurrency/tests/* --ignore-file=tests/ oslo_concurrency