From: Eric Harney Date: Fri, 15 Jan 2016 17:46:09 +0000 (-0500) Subject: Add pip-missing-reqs tox env X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f2a3dc61d6d42de0d0a0c6ffb086867557000cce;p=openstack-build%2Fcinder-build.git Add pip-missing-reqs tox env This allows discovery of dependencies that are not listed in [test-]requirements.txt. Taken from oslo.db. Change-Id: I66000bb61e433f8d75ed15d600f2e87ef45140b8 --- diff --git a/tox.ini b/tox.ini index fb71b5829..a7947147e 100644 --- a/tox.ini +++ b/tox.ini @@ -128,3 +128,11 @@ max-complexity=30 [hacking] local-check-factory = cinder.hacking.checks.factory import_exceptions = cinder.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-file=cinder/tests/* cinder