Merge "Use dedicated config file for config generator"
This commit is contained in:
commit
e631a04560
8
config-generator.conf
Normal file
8
config-generator.conf
Normal 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
10
tox.ini
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user