[ty] Improve diagnostic when callable is used in a type expression instead of collections.abc.Callable or typing.Callable by AlexWaygood · Pull Request #22180 · astral-sh/ruff (original) (raw)

mypy_primer results

Changes were detected when running on open source projects

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

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

tornado (https://github.com/tornadoweb/tornado)

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

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

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

mypy (https://github.com/python/mypy)

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

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

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

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

scikit-learn (https://github.com/scikit-learn/scikit-learn)

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

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

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

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

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

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

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

No memory usage changes detected ✅