Skip to content

Commit ccf0903

Browse files
committed
Formatting
1 parent 9defd68 commit ccf0903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pdl/pdl_interpreter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,12 +1433,12 @@ def step_call(
14331433
if not isinstance(closure, FunctionBlock):
14341434
msg = f"Type error: {block.call} is of type {type(closure)} but should be a function."
14351435
if isinstance(closure, str) and isinstance(scope.get(closure), FunctionBlock):
1436-
msg += " You might want to call `${ "+ block.call + " }`."
1436+
msg += " You might want to call `${ " + block.call + " }`."
14371437
raise PDLRuntimeError(
14381438
msg,
14391439
loc=append(loc, "call"),
14401440
trace=block.model_copy(),
1441-
)
1441+
)
14421442
args_loc = append(loc, "args")
14431443
type_errors = type_check_args(args, closure.function, args_loc)
14441444
if len(type_errors) > 0:

0 commit comments

Comments
 (0)