You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mypy example.py
example.py:4: error: Incompatible types in assignment (expression has type "list[Never]", variable has type "str") [assignment]
Found 1 error in 1 file (checked 1 source file)
The variable has type "str" comes from the openqasm3.ast.CalibrationDefinition, which does use str for the body field.
The text was updated successfully, but these errors were encountered:
The following program fails to typecheck with mypy 1.27:
The
mypy
error isThe
variable has type "str"
comes from theopenqasm3.ast.CalibrationDefinition
, which does usestr
for thebody
field.The text was updated successfully, but these errors were encountered: