From 210aeb680e650aa7242f868a82330330e8738083 Mon Sep 17 00:00:00 2001 From: "Marcel R." Date: Sun, 5 Nov 2023 10:09:40 +0100 Subject: [PATCH] Linting. --- law/task/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/law/task/base.py b/law/task/base.py index 8d6b7f71..290bd068 100644 --- a/law/task/base.py +++ b/law/task/base.py @@ -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()), [])