[ty] Right-hand side narrowing for if Foo is type(x) expressions by AlexWaygood · Pull Request #22608 · astral-sh/ruff (original) (raw)

mypy_primer results

Changes were detected when running on open source projects

xarray (https://github.com/pydata/xarray)

prefect (https://github.com/PrefectHQ/prefect)

pandas (https://github.com/pandas-dev/pandas)

sympy (https://github.com/sympy/sympy)

static-frame (https://github.com/static-frame/static-frame)

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)

No memory usage changes detected ✅