Add tox target to find missing requirements

Change-Id: Ib33343c79910e603dcb56357f50ec66a2c6202da
This commit is contained in:
Davanum Srinivas 2015-06-25 21:45:33 -04:00
parent 159121e468
commit e3b7d0e5be

View File

@ -38,3 +38,11 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
[hacking]
import_exceptions = oslo_middleware._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_middleware* --ignore-module=pkg_resources --ignore-file=oslo_middleware/tests/* oslo_middleware