[ty] when analyzing a .py file, do not error if there's also a .pyi for that module by Gankra · Pull Request #20461 · astral-sh/ruff (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@Gankra

@Gankra

@Gankra

@Gankra Gankra added the ty

Multi-file analysis & type inference

label

Sep 18, 2025

@Gankra Gankra added the bug

Something isn't working

label

Sep 18, 2025

@Gankra

Gankra

MichaReiser

Comment on lines +160 to +163

carljm

Comment on lines +160 to +176

@Gankra

@Gankra Gankra deleted the gankra/real-import branch

September 25, 2025 01:15

@Gankra Gankra changed the title[ty] fallback to resolve_real_module in file_to_module [ty] when analyzing a .py file, do not error if there's also a .pyi for that module

Sep 25, 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 }})

Labels