Add pip-missing-reqs tox env
This allows discovery of dependencies that are not listed in [test-]requirements.txt. Taken from oslo.db. Change-Id: I66000bb61e433f8d75ed15d600f2e87ef45140b8
This commit is contained in:
parent
32f1e86b6b
commit
f2a3dc61d6
8
tox.ini
8
tox.ini
@ -128,3 +128,11 @@ max-complexity=30
|
|||||||
[hacking]
|
[hacking]
|
||||||
local-check-factory = cinder.hacking.checks.factory
|
local-check-factory = cinder.hacking.checks.factory
|
||||||
import_exceptions = cinder.i18n
|
import_exceptions = cinder.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-file=cinder/tests/* cinder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user