Add tox target to find missing requirements
Change-Id: Ib10eca3bf7813e44991634dc7ed948abbac14597
This commit is contained in:
parent
56073f066d
commit
8e1cd36018
8
tox.ini
8
tox.ini
@ -25,3 +25,11 @@ commands = python setup.py build_sphinx
|
|||||||
[flake8]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .tox,dist,doc,*.egg,build
|
exclude = .tox,dist,doc,*.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_config* --ignore-module=pkg_resources --ignore-file=oslo_config/tests/* --ignore-file=tests/ oslo_config
|
||||||
|
Loading…
Reference in New Issue
Block a user