[ty] Search PYTHONPATH to find modules by mmlb · Pull Request #20441 · astral-sh/ruff (original) (raw)

@mmlb mmlb mentioned this pull request

Sep 16, 2025

@mmlb mmlb changed the titleTeach TY to search PYTHONPATH to find modules [ty] Search PYTHONPATH to find modules

Sep 16, 2025

@ntBre ntBre added the ty

Multi-file analysis & type inference

label

Sep 16, 2025

carljm

MichaReiser

MichaReiser

This brings ty in line with other type checkers and python interpreters, including on by default and no options to disable. Can be disabled by clearing the PYTHONPATH environment variable.

Co-authored-by: Manuel Mendez github@i.m.mmlb.dev Co-authored-by: Micha Reiser micha@reiser.io

MichaReiser

@MichaReiser

@MichaReiser

@mmlb mmlb deleted the push-tyvxlwmmrvxu branch

September 22, 2025 13:47

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 }})