summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2015-06-25 22:06:07 -0400
committerDavanum Srinivas <davanum@gmail.com>2015-06-26 07:31:57 -0400
commit143030e2fdbea2d88b594dfa5ca596f242b68752 (patch)
treeba1e5a9860e629947636d876f4cadb0bf39d0b04 /tox.ini
parentaabd9196bbece655d0021d50cd615b34e718db86 (diff)
downloadoslo-rootwrap-143030e2fdbea2d88b594dfa5ca596f242b68752.tar.gz
Add tox target to find missing requirements
Change-Id: If202cafb98b4f5f339f16ac4a03fba3d5f4fdff9
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 00f6515..ec3165f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -46,3 +46,11 @@ exclude = .tox,dist,doc,*.egg,build
[testenv:benchmark]
commands = python benchmark/benchmark.py
+
+[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_rootwrap* --ignore-module=pkg_resources --ignore-file=oslo_rootwrap/test.py --ignore-file=oslo_rootwrap/tests/* oslo_rootwrap \ No newline at end of file