Merge "Use dedicated config file for config generator"

This commit is contained in:
Jenkins 2016-03-07 17:05:42 +00:00 committed by Gerrit Code Review
commit e631a04560
2 changed files with 9 additions and 9 deletions

8
config-generator.conf Normal file
View File

@ -0,0 +1,8 @@
[DEFAULT]
output_file = example.conf
namespace = ironic_inspector
namespace = ironic_inspector.common.swift
namespace = ironic_inspector.plugins.discovery
namespace = keystonemiddleware.auth_token
namespace = oslo.db
namespace = oslo.log

10
tox.ini
View File

@ -42,15 +42,7 @@ commands =
[testenv:genconfig] [testenv:genconfig]
envdir = {toxworkdir}/venv envdir = {toxworkdir}/venv
commands = commands = oslo-config-generator --config-file config-generator.conf
oslo-config-generator \
--output-file example.conf \
--namespace ironic_inspector \
--namespace keystonemiddleware.auth_token \
--namespace ironic_inspector.common.swift \
--namespace ironic_inspector.plugins.discovery \
--namespace oslo.db \
--namespace oslo.log
[flake8] [flake8]
max-complexity=15 max-complexity=15