Skip to content

Commit

Permalink
Fix up flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwatts committed Oct 12, 2023
1 parent 681383f commit a8fc99c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion func_adl/util_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ def visit_Name(self, node: ast.Name) -> Any:
if type(v) not in legal_capture_types:
raise ValueError(
f"Do not know how to capture data type '{type(v).__name__}' for "
f"variable '{node.id}' - only {', '.join([c.__name__ for c in legal_capture_types])} are "
f"variable '{node.id}' - only "
f"{', '.join([c.__name__ for c in legal_capture_types])} are "
"supported."
)
return as_literal(v)
Expand Down

0 comments on commit a8fc99c

Please sign in to comment.