[ty] No union with Unknown for module-global symbols by sharkdp · Pull Request #20664 · astral-sh/ruff (original) (raw)

@sharkdp sharkdp changed the title[ty] No union with Unknown for module-global symbols (no promotion) [ty] No union with Unknown for module-global symbols

Oct 1, 2025

sharkdp added a commit that referenced this pull request

Oct 1, 2025

@sharkdp

Summary

Reformulation of the public symbol type inference test suite to use class scopes instead of module scopes. This is in preparation for an upcoming change to module-global scopes (#20664).

Test Plan

Updated tests

sharkdp

@sharkdp

@sharkdp sharkdp marked this pull request as ready for review

October 1, 2025 12:43

AlexWaygood

@sharkdp

@sharkdp sharkdp deleted the david/no-unknown-union-no-promotion branch

October 1, 2025 14:40

dcreager added a commit that referenced this pull request

Oct 3, 2025

@dcreager

This was referenced

Oct 6, 2025

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})