Skip to content

[ty] Avoid enforcing standalone expression for tests in f-strings#21967

Merged
charliermarsh merged 2 commits intomainfrom
charlie/f
Dec 16, 2025
Merged

[ty] Avoid enforcing standalone expression for tests in f-strings#21967
charliermarsh merged 2 commits intomainfrom
charlie/f

Conversation

@charliermarsh
Copy link
Member

Summary

Based on what we do elsewhere and my understanding of "standalone" here...

Closes astral-sh/ty#1865.

@charliermarsh charliermarsh added bug Something isn't working fuzzer Surfaced via fuzzing. ty Multi-file analysis & type inference labels Dec 13, 2025
@astral-sh-bot
Copy link

astral-sh-bot bot commented Dec 13, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Dec 13, 2025

mypy_primer results

No ecosystem changes detected ✅

No memory usage changes detected ✅

@charliermarsh charliermarsh marked this pull request as ready for review December 13, 2025 20:06
@charliermarsh charliermarsh merged commit 682d29c into main Dec 16, 2025
42 checks passed
@charliermarsh charliermarsh deleted the charlie/f branch December 16, 2025 03:31
dcreager added a commit that referenced this pull request Dec 16, 2025
* main:
  [ty] Document `TY_CONFIG_FILE` (#22001)
  [ty] Cache `KnownClass::to_class_literal` (#22000)
  [ty] Fix benchmark assertion (#22003)
  Add uv and ty to the Ruff README (#21996)
  [ty] Infer precise types for `isinstance(…)` calls involving typevars (#21999)
  [ty] Use `FxHashMap` in `Signature::has_relation_to` (#21997)
  [ty] Avoid enforcing standalone expression for tests in f-strings (#21967)
  [ty] Use `title` for configuration code fences in ty reference documentation (#21992)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fuzzer Surfaced via fuzzing. ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panic: no entry found for key with stringified set comprehension in type expression

2 participants