Add tox target to find missing requirements
Change-Id: If9ce04ac555ffd10221739e1582e01ac3d924d2a
This commit is contained in:
parent
8ebc9d4356
commit
6cd6516353
8
tox.ini
8
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
|
Loading…
x
Reference in New Issue
Block a user