[ty] Implement partial stubs by Gankra · Pull Request #19931 · astral-sh/ruff (original) (raw)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. This looks good to me.

Can you coordinate with @BurntSushi to make sure partial is also considered for completions (#19883)?

It would be nice if some of those module resolver tests could be mdtests. I ported some module resolver tests but haven't had the time to migrate all, but it would be nice if we can avoid adding new once (unless it uses a mdtest feature that we aren't supporting yet)