Add tox target to find missing requirements

Change-Id: I3d56e5940c0198ec7b93aff064119f471dc18481
This commit is contained in:
Davanum Srinivas 2015-06-25 22:09:01 -04:00
parent bdcbd15ddf
commit 2238ebef32

View File

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