From f2a3dc61d6d42de0d0a0c6ffb086867557000cce Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Fri, 15 Jan 2016 12:46:09 -0500 Subject: [PATCH] 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 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.45.2