ruff/crates/ty_python_semantic
Matthew Mckee c60b4d7f30
[ty] Add subtyping between Callable types and class literals with __init__ (#17638)
## Summary

Allow classes with `__init__` to be subtypes of `Callable`

Fixes https://github.com/astral-sh/ty/issues/358

## Test Plan

Update is_subtype_of.md

---------

Co-authored-by: Carl Meyer <carl@astral.sh>
2025-05-28 13:43:07 -07:00
..
resources [ty] Add subtyping between Callable types and class literals with __init__ (#17638) 2025-05-28 13:43:07 -07:00
src [ty] Add subtyping between Callable types and class literals with __init__ (#17638) 2025-05-28 13:43:07 -07:00
tests
build.rs
Cargo.toml
mdtest.py
mdtest.py.lock