Skip to content

[pull] main from astral-sh:main#432

Merged
pull[bot] merged 8 commits intoReality2byte:mainfrom
astral-sh:main
Dec 12, 2025
Merged

[pull] main from astral-sh:main#432
pull[bot] merged 8 commits intoReality2byte:mainfrom
astral-sh:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Dec 12, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

MichaReiser and others added 8 commits December 12, 2025 11:30
We also ignore names introduced by import statements, which seems to
match pylance behavior.

Fixes astral-sh/ty#1856
This was being emitted for every symbol we checked, which
is clearly too frequent. This switches to emitting it once
per module.
... and also `__all__.extend(submodule.__all__)`.

I originally left out support for this since I was unclear on whether
we'd really need it. But it turns out this is used somewhat frequently.
For example, in `numpy`.

See the comments on the new `Imports` type for how we approach this.
@pull pull bot locked and limited conversation to collaborators Dec 12, 2025
@pull pull bot added the ⤵️ pull label Dec 12, 2025
@pull pull bot merged commit 3ac58b4 into Reality2byte:main Dec 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants