test: route the tell-state stand-in through object for basedpyright
CI / test (3.13) (pull_request) Successful in 1m4s
CI / lint (pull_request) Successful in 1m9s
CI / test (3.12) (pull_request) Successful in 1m13s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m11s
CI / test (3.14) (pull_request) Successful in 1m16s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m16s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m25s
CI / test-with-coverage (pull_request) Successful in 1m40s
CI / coverage-analysis (pull_request) Successful in 4s
CI / lint (push) Successful in 31s
Docs build and publish / docker (push) Successful in 15s
CI / test (3.12) (push) Canceled after 40s
CI / test (3.13) (push) Canceled after 37s
CI / test (3.14) (push) Canceled after 35s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 32s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 30s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 27s
CI / test-with-coverage (push) Canceled after 25s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 27s

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit was merged in pull request #204.
This commit is contained in:
2026-09-08 14:57:29 +02:00
co-authored by Claude Fable 5.1
parent ccb71bf43f
commit a56457d03b
+3 -1
View File
@@ -62,7 +62,9 @@ def test_robot_cooling_is_the_only_blue_busy_state():
def _style(activity: str):
# Only .activity.value is read; cast keeps basedpyright off the stand-in.
tell = cast(TellStateModel, SimpleNamespace(activity=SimpleNamespace(value=activity)))
tell = cast(
TellStateModel, cast(object, SimpleNamespace(activity=SimpleNamespace(value=activity)))
)
style = build_busy_overlay_style(is_busy=True, tell_state=tell)
assert style is not None
return style