[ty] support `kw_only=True` for `dataclass()` and `field()` by thejchap · Pull Request #19677 · astral-sh/ruff

@thejchap thejchap changed the title [ty] upport kw_only=True for dataclasses [ty] support kw_only=True for dataclasses

Aug 1, 2025

@thejchap thejchap marked this pull request as ready for review

August 1, 2025 02:40

thejchap

@thejchap thejchap marked this pull request as ready for review

August 6, 2025 12:19

@thejchap thejchap changed the title [ty] support kw_only=True for dataclasses [ty] support kw_only=True for dataclass() and field()

Aug 6, 2025

@thejchap thejchap changed the title [ty] support kw_only=True for dataclass() and field() [ty] support kw_only=True for dataclass() and field()

Aug 6, 2025

abhijeetbodas2001

@thejchap

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)