ruff/crates/ty_python_semantic/resources/mdtest/class
Shaygan Hooshyari 195669f33d [ty] Infer type of self as typing.Self in method body (#18473)
Part of https://github.com/astral-sh/ty/issues/159

Add support for adding a synthetic `typing.Self` type for `self`
arguments in methods.
`typing.Self` is assigned as the type if there are no annotations.

- Updated md tests.

---------

Co-authored-by: David Peter <mail@david-peter.de>
2025-10-22 14:30:44 +02:00
..
super.md [ty] Infer type of self as typing.Self in method body (#18473) 2025-10-22 14:30:44 +02:00