From 143030e2fdbea2d88b594dfa5ca596f242b68752 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 25 Jun 2015 22:06:07 -0400 Subject: Add tox target to find missing requirements Change-Id: If202cafb98b4f5f339f16ac4a03fba3d5f4fdff9 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tox.ini') 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 -- cgit v1.2.1