summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2015-06-25 22:15:37 -0400
committerDavanum Srinivas (dims) <davanum@gmail.com>2015-06-26 15:03:01 +0000
commit6cd65163536b07dfebbf8f5a31386e41dd425e05 (patch)
treec8e0c3162d5fabc659211a6f79e98c7850a5e97f /tox.ini
parent8ebc9d43562b160a20d16964f9f4129b2fdbef06 (diff)
downloadoslo-policy-6cd65163536b07dfebbf8f5a31386e41dd425e05.tar.gz
Add tox target to find missing requirements
Change-Id: If9ce04ac555ffd10221739e1582e01ac3d924d2a
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 2c115ca..cdd0056 100644
--- a/tox.ini
+++ b/tox.ini
@@ -38,3 +38,11 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[hacking]
import_exceptions = oslo_policy._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_policy* --ignore-module=pkg_resources --ignore-file=oslo_policy/test.py --ignore-file=oslo_policy/tests/* oslo_policy \ No newline at end of file