[ty] Only perform literal promotion for implicitly inferred literals by ibraheemdev · Pull Request #23107 · astral-sh/ruff (original) (raw)

mypy_primer results

Changes were detected when running on open source projects

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

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

kopf (https://github.com/nolar/kopf)

rich (https://github.com/Textualize/rich)

sockeye (https://github.com/awslabs/sockeye)

porcupine (https://github.com/Akuli/porcupine)

apprise (https://github.com/caronc/apprise)

meson (https://github.com/mesonbuild/meson)

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

cloud-init (https://github.com/canonical/cloud-init)

manticore (https://github.com/trailofbits/manticore)

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

altair (https://github.com/vega/altair)

dd-trace-py (https://github.com/DataDog/dd-trace-py)

AutoSplit (https://github.com/Toufool/AutoSplit)

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

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

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

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

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

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

... (truncated 66 lines) ...