Skip to content

Commit

Permalink
fix an f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Mar 14, 2024
1 parent 22b97e8 commit c79c159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/semantics/analysis/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def visit_InitializesDecl(self, node):
break

if rhs is None:
hint = "try importing {item.alias} first"
hint = f"try importing {item.alias} first"
elif isinstance(module_ref, vy_ast.NamedExpr):
hint = f"did you mean {module_ref.id}[{lhs} := {rhs}]?"
else:
Expand Down

0 comments on commit c79c159

Please sign in to comment.