Skip to content

fix: annotate Redis fixture as an async iterator - #125

Merged
lesnik512 merged 1 commit into
mainfrom
fix/ty-renamed-return-diagnostic
Nov 13, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
fix/ty-renamed-return-diagnostic

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Scheduled lint fails with ty 0.0.103 because the Redis fixture is annotated as returning a Redis client even though it yields one, and its old invalid-return-type suppression no longer covers that diagnostic. Annotate the fixture as AsyncIterator[Redis] and remove the obsolete suppression.

Closes #124.

Validation: reproduced the generator-return, unused-ignore, and renamed-rule diagnostics before the change; just install lint-ci passes afterward. The unit, fake-broker, store-seam, and tuning-default suites pass all 110 tests (24 RuntimeWarnings about unawaited mocks). Redis integration tests were not run locally.

@lesnik512
lesnik512 merged commit a9088fc into main Nov 13, 2026
17 checks passed
@lesnik512
lesnik512 deleted the fix/ty-renamed-return-diagnostic branch November 13, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scheduled dependency check failed

1 participant