[ty] Silence false-positive diagnostics when using typing.Dict or typing.Callable as the second argument to isinstance() by AlexWaygood · Pull Request #21386 · astral-sh/ruff (original) (raw)
…typing.Callableas the second argument toisinstance()`
added the ty
Multi-file analysis & type inference
label
Co-authored-by: Carl Meyer carl@astral.sh
AlexWaygood added a commit that referenced this pull request
…ond argument is a typing.py stdlib alias (#21391)
Summary
A followup to #21386
Test Plan
New mdtests added
KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request
…ond argument is a typing.py stdlib alias (#21391)
Summary
A followup to astral-sh/ruff#21386
Test Plan
New mdtests added
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 }})