David Peter
68106dd631
[ty] dataclasses.field support ( #19140 )
...
## Summary
Add an initial set of tests for `dataclasses.field`.
2025-07-09 09:18:08 +02:00
David Peter
ce2bdb9357
[ty] Conditionally defined dataclass fields ( #19197 )
...
## Summary
Fixes a bug where conditionally defined dataclass fields were previously
ignored.
Thanks to @lipefree for reporting this.
## Test Plan
New Markdown tests
2025-07-08 16:16:50 +02:00
David Peter
9a4b85d845
[ty] Add tests for dataclass fields annotated with Final ( #19202 )
...
## Summary
Adds some tests for dataclass fields that are annotated with `Final`
(see comment
[here](https://github.com/astral-sh/ruff/pull/15768#issuecomment-3044737645 )).
Turns out that nothing is needed here, everything already works as
expected (apart from the fact that we can assign to `Final` fields,
which is tracked in https://github.com/astral-sh/ty/issues/158
## Test Plan
New Markdown tests
2025-07-08 12:33:46 +00:00
David Peter
e212dc2e8e
[ty] Restructure/move dataclass tests ( #19117 )
...
Before I'm adding even more dataclass-related files, let's organize them
in a separate folder.
2025-07-03 10:36:14 +00:00