Add tox target to find missing requirements
Change-Id: If1bdbe08091e72a2fc15a5867a7ba6358bfd2e66
This commit is contained in:
parent
4e2ca43093
commit
17bb701f3f
8
tox.ini
8
tox.ini
@ -35,3 +35,11 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||||||
show-source = True
|
show-source = True
|
||||||
ignore = E123,E125,H803
|
ignore = E123,E125,H803
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
|
||||||
|
[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_serialization* --ignore-module=pkg_resources --ignore-file=oslo_serialization/test.py --ignore-file=oslo_serialization/tests/* oslo_serialization
|
Loading…
Reference in New Issue
Block a user