Skip to content

[ty] Add tests for empty list/tuple unpacking#18451

Merged
dhruvmanila merged 1 commit intomainfrom
dhruv/empty-unpacking
Jun 4, 2025
Merged

[ty] Add tests for empty list/tuple unpacking#18451
dhruvmanila merged 1 commit intomainfrom
dhruv/empty-unpacking

Conversation

@dhruvmanila
Copy link
Member

Summary

This PR is to address this comment: #18438 (comment)

Test Plan

Run mdtest

@dhruvmanila dhruvmanila added the testing Related to testing Ruff itself label Jun 4, 2025
@dhruvmanila dhruvmanila added the ty Multi-file analysis & type inference label Jun 4, 2025
@dhruvmanila dhruvmanila enabled auto-merge (squash) June 4, 2025 02:38
@dhruvmanila dhruvmanila merged commit 453e5f5 into main Jun 4, 2025
34 checks passed
@dhruvmanila dhruvmanila deleted the dhruv/empty-unpacking branch June 4, 2025 02:40
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2025

mypy_primer results

No ecosystem changes detected ✅

carljm added a commit to mtshiba/ruff that referenced this pull request Jun 4, 2025
* main:
  [ty] Add tests for empty list/tuple unpacking (astral-sh#18451)
  [ty] Argument type expansion for overload call evaluation (astral-sh#18382)
  [ty] Minor cleanup for `site-packages` discovery logic (astral-sh#18446)
  [ty] Add generic inference for dataclasses (astral-sh#18443)
  [ty] dataclasses: Allow using dataclasses.dataclass as a function. (astral-sh#18440)
  [ty] Create separate `FunctionLiteral` and `FunctionType` types (astral-sh#18360)
  [ty] Infer `list[T]` when unpacking non-tuple type (astral-sh#18438)
  [ty] Meta-type of type variables should be type[..] (astral-sh#18439)
  [`pyupgrade`] Make fix unsafe if it deletes comments (`UP050`) (astral-sh#18390)
  [`pyupgrade`] Make fix unsafe if it deletes comments (`UP004`) (astral-sh#18393)
  [ty] Support using legacy typing aliases for generic classes in type annotations (astral-sh#18404)
  Use ty's completions in playground (astral-sh#18425)
  Update editor setup docs about Neovim and Vim (astral-sh#18324)
  Update NPM Development dependencies (astral-sh#18423)
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.

1 participant