[ty] prefer declared type if mutually assignable by carljm · Pull Request #24802 · astral-sh/ruff (original) (raw)

@carljm

@carljm added the ty

Multi-file analysis & type inference

label

Apr 23, 2026

@carljm

@carljm

@carljm

@carljm carljm marked this pull request as ready for review

April 27, 2026 05:54

@carljm

@carljm carljm changed the titleprefer declared type if mutually assignable [ty] prefer declared type if mutually assignable

Apr 27, 2026

charliermarsh

@carljm carljm deleted the cjm/prefer-declared-if-mutually-assignable branch

April 28, 2026 02:34

ibraheemdev

thejchap pushed a commit to thejchap/ruff that referenced this pull request

May 23, 2026

@carljm @thejchap

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