Skip to content

Commit

Permalink
update type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhill1 committed Aug 22, 2024
1 parent 8cdc3f7 commit 6c4f9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qbraid_qir/qasm3/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def validate_variable_type(variable: Optional[Variable], reqd_type: Any) -> bool
return isinstance(variable.base_type, reqd_type)

@staticmethod
def validate_variable_assignment_value(variable: Variable, value) -> None:
def validate_variable_assignment_value(variable: Variable, value) -> Any:
"""Validate the assignment of a value to a variable.
Args:
Expand Down

0 comments on commit 6c4f9e2

Please sign in to comment.