Skip to content

Commit a6c7766

Browse files
authored
chore: Simplify the comment
1 parent 1a4a1d1 commit a6c7766

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,7 @@ include = ["ionq_core/models/**", "ionq_core/api/**"]
8787
[tool.ty.overrides.rules]
8888
invalid-argument-type = "ignore"
8989

90-
# openapi-python-client 0.29.0 emits `return value` (not `cast(Enum, value)`) in the
91-
# generated enum `check_*` helpers; ty cannot narrow `str` to the Literal through the
92-
# `value in <set>` guard. Scoped to models/** (api/** has no such helpers) so endpoint
93-
# return types stay checked. Drop this if a future generator restores the cast.
90+
# TODO: drop this if a future generator restores the cast
9491
[[tool.ty.overrides]]
9592
include = ["ionq_core/models/**"]
9693
[tool.ty.overrides.rules]

0 commit comments

Comments
 (0)