summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2015-06-25 21:45:33 -0400
committerDavanum Srinivas <davanum@gmail.com>2015-06-26 07:27:55 -0400
commite3b7d0e5befc0c3548bf3f76c389c7f0232ace28 (patch)
treefd04c05a1033aca44270513f67285c77a340942a
parent159121e468ffa9789a97cd15f6f097217771566d (diff)
downloadoslo-middleware-e3b7d0e5befc0c3548bf3f76c389c7f0232ace28.tar.gz
Add tox target to find missing requirements
Change-Id: Ib33343c79910e603dcb56357f50ec66a2c6202da
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index bc9fb1c..3f423f1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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 \ No newline at end of file