Skip to content

[ty] Fix extra_items TypedDict tests#24367

Merged
AlexWaygood merged 1 commit intoastral-sh:mainfrom
MatthewMckee4:td-tests-fix
Apr 2, 2026
Merged

[ty] Fix extra_items TypedDict tests#24367
AlexWaygood merged 1 commit intoastral-sh:mainfrom
MatthewMckee4:td-tests-fix

Conversation

@MatthewMckee4
Copy link
Copy Markdown
Contributor

Summary

Think just a copying issue from #24360

Test Plan

cargo nextest run -p ty_python_semantic

@astral-sh-bot astral-sh-bot bot added the ty Multi-file analysis & type inference label Apr 2, 2026
@astral-sh-bot astral-sh-bot bot requested a review from oconnor663 April 2, 2026 16:47
@MatthewMckee4 MatthewMckee4 changed the title Fix extra_items TypedDict tests [ty] Fix extra_items TypedDict tests Apr 2, 2026
@sharkdp sharkdp assigned AlexWaygood and unassigned oconnor663 Apr 2, 2026
Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Whoooops, thank you!!

@AlexWaygood AlexWaygood added the testing Related to testing Ruff itself label Apr 2, 2026
@AlexWaygood AlexWaygood merged commit 4b8dfd3 into astral-sh:main Apr 2, 2026
49 checks passed
carljm added a commit that referenced this pull request Apr 3, 2026
* main:
  Document adding fixes in CONTRIBUTING.md (#24393)
  Sort formatter diagnostics in snapshots (#24375)
  [`pyupgrade`] Fix panic caused by handling of octals in `UP012` (#24390)
  Upgrade to nix v0.31.2 (#24385)
  Strip form feeds from indent passed to `dedent_to` (#24381)
  add recent move of the `deferred` submodule to `.git-blame-ignore-revs` (#24379)
  [ty] Fix extra_items TypedDict tests (#24367)
  [ty] Use `infer_type_expression` for validating PEP-613 type aliases (#24370)
  [`flake8-simplify`] Make the fix for `collapsible-if` (`SIM102`) safe in `preview` (#24371)
  [ty] Validate TypedDict fields when subclassing (#24338)
  [ty] pass type context to sequence literals in binary operations (#24197)
  Add release environment to notify-dependents job (#24372)
  Bump 0.15.9 (#24369)
  [ty] Move the `deferred` submodule inside `infer/builder` (#24368)
  [ty] Infer the `extra_items` keyword argument to class-based TypedDicts as an annotation expression (#24362)
  [ty] Validate type qualifiers in functional TypedDict fields and the `extra_items` keyword to functional TypedDicts (#24360)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Related to testing Ruff itself ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants