Fix formatting issues

Code should be formatted via black.

Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
Haibo Lin 2020-02-07 13:53:20 +08:00
parent 56fea60595
commit 9b12be7300
5 changed files with 46 additions and 43 deletions

View file

@ -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)