microsoft / pyright

Static Type Checker for Python
Other
13.12k stars 1.4k forks source link

Literal like1 #8827

Closed erictraut closed 2 weeks ago

github-actions[bot] commented 2 weeks ago

Diff from mypy_primer, showing the effect of this PR on open source code:


sympy (https://github.com/sympy/sympy)
-       "LiteralString" is not assignable to type "Literal['H']" (reportIncompatibleMethodOverride)
+       "str" is not assignable to "Literal['H']" (reportIncompatibleMethodOverride)
-       "LiteralString" is not assignable to type "Literal['H']" (reportIncompatibleMethodOverride)
+       "str" is not assignable to "Literal['H']" (reportIncompatibleMethodOverride)
-       "LiteralString" is not assignable to type "Literal['H']" (reportIncompatibleMethodOverride)
+       "str" is not assignable to "Literal['H']" (reportIncompatibleMethodOverride)
-       "LiteralString" is not assignable to type "Literal['\\mathcal{H}']" (reportIncompatibleMethodOverride)
+       "str" is not assignable to "Literal['\\mathcal{H}']" (reportIncompatibleMethodOverride)
-           "Literal[False]" is not assignable to type "Literal['O']" (reportIncompatibleMethodOverride)
+           "Literal[False]" is not assignable to "Literal['O']" (reportIncompatibleMethodOverride)

cloud-init (https://github.com/canonical/cloud-init)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "str" is not assignable to type "Literal[False]" (reportIncompatibleMethodOverride)
+       "str" is not assignable to "Literal[False]" (reportIncompatibleMethodOverride)
-         "None" is not assignable to type "Literal[False]" (reportIncompatibleMethodOverride)
+         "None" is not assignable to "Literal[False]" (reportIncompatibleMethodOverride)

scrapy (https://github.com/scrapy/scrapy)
-       "Coroutine[Any, Any, Literal['OK']]" is not assignable to type "Literal['OK']" (reportIncompatibleMethodOverride)
+       "Coroutine[Any, Any, Literal['OK']]" is not assignable to "Literal['OK']" (reportIncompatibleMethodOverride)
-       "Coroutine[Any, Any, str]" is not assignable to type "Literal['OK']" (reportIncompatibleMethodOverride)
+       "Coroutine[Any, Any, str]" is not assignable to "Literal['OK']" (reportIncompatibleMethodOverride)

pip (https://github.com/pypa/pip)
-       "LiteralString" is not assignable to type "Literal['']" (reportIncompatibleMethodOverride)
+       "str" is not assignable to "Literal['']" (reportIncompatibleMethodOverride)

core (https://github.com/home-assistant/core)
-           "Literal['on']" is not assignable to type "Literal[0]" (reportIncompatibleMethodOverride)
+           "Literal['on']" is not assignable to "Literal[0]" (reportIncompatibleMethodOverride)
-           "bool" is not assignable to type "Literal[0]" (reportIncompatibleMethodOverride)
+           "bool" is not assignable to "Literal[0]" (reportIncompatibleMethodOverride)

vision (https://github.com/pytorch/vision)
-       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to type "Literal[0]"
+       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to "Literal[0]"
-       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to type "Literal[1]"
+       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to "Literal[1]"
-       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to type "Literal[2]"
+       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to "Literal[2]"
-       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to type "Literal[3]"
+       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to "Literal[3]"
-       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to type "Literal[4]"
+       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to "Literal[4]"
-       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to type "Literal[5]"
+       "tuple[Literal[2], Literal[0], Literal[1]]" is not assignable to "Literal[5]"

rich (https://github.com/Textualize/rich)
-       "None" is not assignable to type "Literal['left']"
+       "None" is not assignable to "Literal['left']"
-       "None" is not assignable to type "Literal['center']"
+       "None" is not assignable to "Literal['center']"
-       "None" is not assignable to type "Literal['right']" (reportArgumentType)
+       "None" is not assignable to "Literal['right']" (reportArgumentType)

xarray (https://github.com/pydata/xarray)
-       "DataArray" is not assignable to type "Literal['raise']"
+       "DataArray" is not assignable to "Literal['raise']"
-       "DataArray" is not assignable to type "Literal['warn']"
+       "DataArray" is not assignable to "Literal['warn']"
-       "DataArray" is not assignable to type "Literal['ignore']" (reportArgumentType)
+       "DataArray" is not assignable to "Literal['ignore']" (reportArgumentType)
-       "Literal[0]" is not assignable to type "Literal['coo']" (reportArgumentType)
+       "Literal[0]" is not assignable to "Literal['coo']" (reportArgumentType)
-       "DataArray" is not assignable to type "Literal['raise']"
+       "DataArray" is not assignable to "Literal['raise']"
-       "DataArray" is not assignable to type "Literal['warn']"
+       "DataArray" is not assignable to "Literal['warn']"
-       "DataArray" is not assignable to type "Literal['ignore']" (reportArgumentType)
+       "DataArray" is not assignable to "Literal['ignore']" (reportArgumentType)
-       "DataArray" is not assignable to type "Literal['raise']"
+       "DataArray" is not assignable to "Literal['raise']"
-       "DataArray" is not assignable to type "Literal['warn']"
+       "DataArray" is not assignable to "Literal['warn']"
-       "DataArray" is not assignable to type "Literal['ignore']" (reportArgumentType)
+       "DataArray" is not assignable to "Literal['ignore']" (reportArgumentType)
-       "list[int]" is not assignable to type "Literal['raise']"
+       "list[int]" is not assignable to "Literal['raise']"
-       "list[int]" is not assignable to type "Literal['warn']"
+       "list[int]" is not assignable to "Literal['warn']"
-       "list[int]" is not assignable to type "Literal['ignore']" (reportArgumentType)
+       "list[int]" is not assignable to "Literal['ignore']" (reportArgumentType)
-       "list[int]" is not assignable to type "Literal['raise']"
+       "list[int]" is not assignable to "Literal['raise']"
-       "list[int]" is not assignable to type "Literal['warn']"
+       "list[int]" is not assignable to "Literal['warn']"
-       "list[int]" is not assignable to type "Literal['ignore']" (reportArgumentType)
+       "list[int]" is not assignable to "Literal['ignore']" (reportArgumentType)
-       "DataArray" is not assignable to type "Literal['raise']"
+       "DataArray" is not assignable to "Literal['raise']"
-       "DataArray" is not assignable to type "Literal['warn']"
+       "DataArray" is not assignable to "Literal['warn']"
-       "DataArray" is not assignable to type "Literal['ignore']" (reportArgumentType)
+       "DataArray" is not assignable to "Literal['ignore']" (reportArgumentType)
-       "DataArray" is not assignable to type "Literal['raise']"
+       "DataArray" is not assignable to "Literal['raise']"
-       "DataArray" is not assignable to type "Literal['warn']"
+       "DataArray" is not assignable to "Literal['warn']"
-       "DataArray" is not assignable to type "Literal['ignore']" (reportArgumentType)
+       "DataArray" is not assignable to "Literal['ignore']" (reportArgumentType)

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
-     "Literal[True]" is not assignable to type "Literal[1]" (reportArgumentType)
+     "Literal[True]" is not assignable to "Literal[1]" (reportArgumentType)
-     "Literal[True]" is not assignable to type "Literal[1]" (reportArgumentType)
+     "Literal[True]" is not assignable to "Literal[1]" (reportArgumentType)
-     "Literal[True]" is not assignable to type "Literal[1]" (reportArgumentType)
+     "Literal[True]" is not assignable to "Literal[1]" (reportArgumentType)

bokeh (https://github.com/bokeh/bokeh)
-       "Either" is not assignable to type "Literal['auto']" (reportAssignmentType)
+       "Either" is not assignable to "Literal['auto']" (reportAssignmentType)
-       "Either" is not assignable to type "Literal['auto']" (reportAssignmentType)
+       "Either" is not assignable to "Literal['auto']" (reportAssignmentType)
-       "Either" is not assignable to type "Literal['auto']" (reportAssignmentType)
+       "Either" is not assignable to "Literal['auto']" (reportAssignmentType)
-       "Either" is not assignable to type "Literal['auto']" (reportAssignmentType)
+       "Either" is not assignable to "Literal['auto']" (reportAssignmentType)
-       "Either" is not assignable to type "Literal['auto']" (reportAssignmentType)
+       "Either" is not assignable to "Literal['auto']" (reportAssignmentType)
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['linear']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['linear']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['log']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['log']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['datetime']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['datetime']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['mercator']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['mercator']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['linear']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['linear']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['log']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['log']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['datetime']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['datetime']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['mercator']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['mercator']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['linear']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['linear']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['log']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['log']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['datetime']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['datetime']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['mercator']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['mercator']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[str]" is not assignable to type "Literal['above']"
+       "Nullable[str]" is not assignable to "Literal['above']"
-       "Nullable[str]" is not assignable to type "Literal['below']"
+       "Nullable[str]" is not assignable to "Literal['below']"
-       "Nullable[str]" is not assignable to type "Literal['left']"
+       "Nullable[str]" is not assignable to "Literal['left']"
-       "Nullable[str]" is not assignable to type "Literal['right']" (reportArgumentType)
+       "Nullable[str]" is not assignable to "Literal['right']" (reportArgumentType)
-       "Either" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "Either" is not assignable to "Literal['auto']" (reportArgumentType)
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['linear']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['linear']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['log']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['log']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['datetime']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['datetime']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['mercator']"
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['mercator']"
-       "ParameterizedProperty[Any | None]" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "ParameterizedProperty[Any | None]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[str]" is not assignable to type "Literal['above']"
+       "Nullable[str]" is not assignable to "Literal['above']"
-       "Nullable[str]" is not assignable to type "Literal['below']"
+       "Nullable[str]" is not assignable to "Literal['below']"
-       "Nullable[str]" is not assignable to type "Literal['left']"
+       "Nullable[str]" is not assignable to "Literal['left']"
-       "Nullable[str]" is not assignable to type "Literal['right']" (reportArgumentType)
+       "Nullable[str]" is not assignable to "Literal['right']" (reportArgumentType)
-       "Either" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "Either" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Either" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "Either" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[str]" is not assignable to type "Literal['above']"
+       "Nullable[str]" is not assignable to "Literal['above']"
-       "Nullable[str]" is not assignable to type "Literal['below']"
+       "Nullable[str]" is not assignable to "Literal['below']"
-       "Nullable[str]" is not assignable to type "Literal['left']"
+       "Nullable[str]" is not assignable to "Literal['left']"
-       "Nullable[str]" is not assignable to type "Literal['right']"
+       "Nullable[str]" is not assignable to "Literal['right']"
-       "Nullable[str]" is not assignable to type "Literal['center']" (reportArgumentType)
+       "Nullable[str]" is not assignable to "Literal['center']" (reportArgumentType)
-       "Either" is not assignable to type "Literal['auto']" (reportArgumentType)
+       "Either" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[str]" is not assignable to type "Literal['above']"
+       "Nullable[str]" is not assignable to "Literal['above']"
-       "Nullable[str]" is not assignable to type "Literal['below']"
+       "Nullable[str]" is not assignable to "Literal['below']"
-       "Nullable[str]" is not assignable to type "Literal['left']"
+       "Nullable[str]" is not assignable to "Literal['left']"
-       "Nullable[str]" is not assignable to type "Literal['right']"
+       "Nullable[str]" is not assignable to "Literal['right']"
-       "Nullable[str]" is not assignable to type "Literal['center']" (reportArgumentType)
+       "Nullable[str]" is not assignable to "Literal['center']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "Nullable[Any]" is not assignable to type "Auto" (reportArgumentType)
+       "Nullable[Any]" is not assignable to "Literal['auto']" (reportArgumentType)
-       "float" is not assignable to type "Literal[-1]" (reportArgumentType)
+       "float" is not assignable to "Literal[-1]" (reportArgumentType)
-       "Literal[123]" is not assignable to type "Literal['default']" (reportArgumentType)
+       "Literal[123]" is not assignable to "Literal['default']" (reportArgumentType)
-       "Literal[123]" is not assignable to type "Literal['default']" (reportArgumentType)
+       "Literal[123]" is not assignable to "Literal['default']" (reportArgumentType)
-       "None" is not assignable to type "Literal['jupyter']"
+       "None" is not assignable to "Literal['jupyter']"

... (truncated 6 lines) ...

spark (https://github.com/apache/spark)
-     "StructType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StructType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StructType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StructType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['int']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['int']" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StructType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StructType" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['int']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['int']" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "ArrayType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "ArrayType" is not assignable to "Literal[202]" (reportArgumentType)
-     "ArrayType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "ArrayType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StringType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StringType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StringType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StringType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StringType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StringType" is not assignable to "Literal[202]" (reportArgumentType)
-     "IntegerType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "IntegerType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StructType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StructType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StructType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StructType" is not assignable to "Literal[202]" (reportArgumentType)
-     "IntegerType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "IntegerType" is not assignable to "Literal[202]" (reportArgumentType)
-     "IntegerType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "IntegerType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StructType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StructType" is not assignable to "Literal[202]" (reportArgumentType)
-     "DoubleType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "DoubleType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StringType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StringType" is not assignable to "Literal[202]" (reportArgumentType)
-     "VariantType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "VariantType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StringType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StringType" is not assignable to "Literal[202]" (reportArgumentType)
-     "StringType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "StringType" is not assignable to "Literal[202]" (reportArgumentType)
-     "LongType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "LongType" is not assignable to "Literal[202]" (reportArgumentType)
-     "IntegerType" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "IntegerType" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['bigint']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['bigint']" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['int']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['int']" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['int']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['int']" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['boolean']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['boolean']" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['boolean']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['boolean']" is not assignable to "Literal[202]" (reportArgumentType)
-     "Literal['double']" is not assignable to type "PandasGroupedAggUDFType" (reportArgumentType)
+     "Literal['double']" is not assignable to "Literal[202]" (reportArgumentType)

parso (https://github.com/davidhalter/parso)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)

ibis (https://github.com/ibis-project/ibis)
-       "function" is not assignable to type "Literal['h']"
+       "function" is not assignable to "Literal['h']"
-       "function" is not assignable to type "Literal['ds']" (reportArgumentType)
+       "function" is not assignable to "Literal['ds']" (reportArgumentType)
-       "LiteralString" is not assignable to type "Literal['md5']"
+       "str" is not assignable to "Literal['md5']"
-       "LiteralString" is not assignable to type "Literal['sha1']"
+       "str" is not assignable to "Literal['sha1']"
-       "LiteralString" is not assignable to type "Literal['sha256']"
+       "str" is not assignable to "Literal['sha256']"
-       "LiteralString" is not assignable to type "Literal['sha512']" (reportArgumentType)
+       "str" is not assignable to "Literal['sha512']" (reportArgumentType)

mitmproxy (https://github.com/mitmproxy/mitmproxy)
-     "float" is not assignable to type "Literal[10]" (reportArgumentType)
+     "float" is not assignable to "Literal[10]" (reportArgumentType)
-     "float" is not assignable to type "Literal[10]" (reportArgumentType)
+     "float" is not assignable to "Literal[10]" (reportArgumentType)
-     "float" is not assignable to type "Literal[10]" (reportArgumentType)
+     "float" is not assignable to "Literal[10]" (reportArgumentType)

setuptools (https://github.com/pypa/setuptools)
-       "Word" is not assignable to type "Literal[False]" (reportReturnType)
+       "Word" is not assignable to "Literal[False]" (reportReturnType)

httpx-caching (https://github.com/johtso/httpx-caching)
-       "None" is not assignable to type "Literal['110 - "Response is Stale"']" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal['110 - "Response is Stale"']" (reportIncompatibleMethodOverride)

prefect (https://github.com/PrefectHQ/prefect)
-     "Dict[str, Any]" is not assignable to type "Literal[True]" (reportArgumentType)
+     "Dict[str, Any]" is not assignable to "Literal[True]" (reportArgumentType)

manticore (https://github.com/trailofbits/manticore)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)
+       "None" is not assignable to "Literal[True]" (reportIncompatibleMethodOverride)
-       "None" is not assignable to type "Literal[True]" (reportIncompatibleMethodOverride)

... (truncated 5 lines) ...```