[ty] Infer better specializations of unions with None (etc) by dcreager · Pull Request #20749 · astral-sh/ruff (original) (raw)

mypy_primer results

Changes were detected when running on open source projects

anyio (https://github.com/agronholm/anyio)

websockets (https://github.com/aaugustin/websockets)

pip (https://github.com/pypa/pip)

antidote (https://github.com/Finistere/antidote)

Expression (https://github.com/cognitedata/Expression)

sphinx (https://github.com/sphinx-doc/sphinx)

vision (https://github.com/pytorch/vision)

trio (https://github.com/python-trio/trio)

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

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

jax (https://github.com/google/jax)

colour (https://github.com/colour-science/colour)

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

ibis (https://github.com/ibis-project/ibis)

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

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

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

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

No memory usage changes detected ✅