ruff/crates/ty_python_semantic/resources
David Peter dc6be457b5
[ty] Support dataclasses.InitVar (#19527)
## Summary

I saw that this creates a lot of false positives in the ecosystem, and
it seemed to be relatively easy to add basic support for this.

Some preliminary work on this was done by @InSyncWithFoo — thank you.

part of https://github.com/astral-sh/ty/issues/111

## Ecosystem analysis

The results look good.

## Test Plan

New Markdown tests

---------

Co-authored-by: InSync <insyncwithfoo@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-07-24 16:33:33 +02:00
..
corpus [ty] Fix panic for attribute expressions with empty value (#19069) 2025-07-09 08:46:33 +02:00
mdtest [ty] Support dataclasses.InitVar (#19527) 2025-07-24 16:33:33 +02:00
primer [ty] Upgrade mypy_primer (#19207) 2025-07-08 15:56:54 +01:00
README.md

Markdown files within the mdtest/ subdirectory are tests of type inference and type checking; executed by the tests/mdtest.rs integration test.

See crates/ty_test/README.md for documentation of this test format.