[ty] Synthesize read-only properties for all declared members on `NamedTuple` classes by AlexWaygood · Pull Request #19899 · astral-sh/ruff

@AlexWaygood added the ty

Multi-file analysis & type inference

label

Aug 13, 2025

dcreager added a commit that referenced this pull request

Aug 14, 2025
* main:
  [ty] Add diagnostics for invalid `await` expressions (#19711)
  [ty] Synthesize read-only properties for all declared members on `NamedTuple` classes (#19899)
  [ty] Remove use of `ClassBase::try_from_type` from `super()` machinery (#19902)
  [ty] Speedup project file discovery  (#19913)
  [`pyflakes`] Add secondary annotation showing previous definition (`F811`) (#19900)
  Bump 0.12.9 (#19917)
  [ty] support `kw_only=True` for `dataclass()` and `field()` (#19677)