Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Nov 5, 2023
1 parent 9c2df74 commit 210aeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion law/task/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def _law_run_inst(cls, inst, _exclude=None, _replace=None, _global=None, _run_kw
# prepend a space to values starting with "-"
for key, value in args.items():
if value.startswith("-"):
args[key] = f" {value}"
args[key] = " {}".format(value)

# flatten them
flat_args = sum((make_list(tpl) for tpl in args.items()), [])
Expand Down

0 comments on commit 210aeb6

Please sign in to comment.