Fix formatting issues
Code should be formatted via black. Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
56fea60595
commit
9b12be7300
5 changed files with 46 additions and 43 deletions
|
|
@ -181,20 +181,26 @@ def main(args=None):
|
|||
),
|
||||
)
|
||||
parser.add_argument(
|
||||
'--schema-override',
|
||||
"--schema-override",
|
||||
action="append",
|
||||
default=[],
|
||||
help=(
|
||||
'Path to extra JSON schema defining the values which will override '
|
||||
'the original Pungi JSON schema values.'
|
||||
"Path to extra JSON schema defining the values which will override "
|
||||
"the original Pungi JSON schema values."
|
||||
),
|
||||
)
|
||||
opts = parser.parse_args(args)
|
||||
defines = config_utils.extract_defines(opts.define)
|
||||
|
||||
with pungi.util.temp_dir() as topdir:
|
||||
errors = run(opts.config, topdir, opts.old_composes, opts.offline, defines,
|
||||
opts.schema_override)
|
||||
errors = run(
|
||||
opts.config,
|
||||
topdir,
|
||||
opts.old_composes,
|
||||
opts.offline,
|
||||
defines,
|
||||
opts.schema_override,
|
||||
)
|
||||
|
||||
for msg in errors:
|
||||
print(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue