[ty] Generalize len() narrowing somewhat by AlexWaygood · Pull Request #22330 · astral-sh/ruff (original) (raw)

mypy_primer results

Changes were detected when running on open source projects

Tanjun (https://github.com/FasterSpeeding/Tanjun)

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

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

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

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

core (https://github.com/home-assistant/core)

No memory usage changes detected ✅