Skip to content

Fix invalid dict[str, ...] type annotations.#2800

Merged
freakboy3742 merged 2 commits intobeeware:mainfrom
filiplajszczak:ty-fix-dict-str-ellipsis
Apr 20, 2026
Merged

Fix invalid dict[str, ...] type annotations.#2800
freakboy3742 merged 2 commits intobeeware:mainfrom
filiplajszczak:ty-fix-dict-str-ellipsis

Conversation

@filiplajszczak
Copy link
Copy Markdown
Contributor

Replaced invalid dict[str, ...] annotations with dict[str, Any] as ellipsis ... is not valid in a type expression. That clears 10 ty invalid-type-form diagnostics. Refs #2709

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@filiplajszczak filiplajszczak force-pushed the ty-fix-dict-str-ellipsis branch from ee5c3c4 to b792f70 Compare April 19, 2026 17:40
@filiplajszczak filiplajszczak marked this pull request as ready for review April 19, 2026 18:05
Copy link
Copy Markdown
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - one minor tweak to the changenote (Markdown vs REST; plus we don't have to be as explicit about individual changes).

Comment thread changes/2800.misc.md Outdated
@freakboy3742 freakboy3742 merged commit 4f70c11 into beeware:main Apr 20, 2026
60 checks passed
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.

2 participants