[ty] support `kw_only=True` for `dataclass()` and `field()` by thejchap · Pull Request #19677 · astral-sh/ruff
thejchap
changed the title
[ty] upport kw_only=True for dataclasses
[ty] support kw_only=True for dataclasses
thejchap
marked this pull request as ready for review
thejchap
marked this pull request as ready for review
thejchap
changed the title
[ty] support kw_only=True for dataclasses
[ty] support kw_only=True for dataclass() and field()
thejchap
changed the title
[ty] support kw_only=True for
[ty] support dataclass() and field()kw_only=True for dataclass() and field()
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters