Add tox target to find missing requirements

Change-Id: Ib10eca3bf7813e44991634dc7ed948abbac14597
This commit is contained in:
Davanum Srinivas 2015-06-25 22:24:12 -04:00
parent 56073f066d
commit 8e1cd36018
1 changed files with 8 additions and 0 deletions

View File

@ -25,3 +25,11 @@ commands = python setup.py build_sphinx
[flake8]
show-source = True
exclude = .tox,dist,doc,*.egg,build
[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_config* --ignore-module=pkg_resources --ignore-file=oslo_config/tests/* --ignore-file=tests/ oslo_config