[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)
- lib/spack/spack/llnl/util/filesystem.py:1668:35: error[invalid-argument-type] Argument to function
existsis incorrect: Expectedint | str | bytes | PathLike[str] | PathLike[bytes], foundUnknown | Sized
- lib/spack/spack/llnl/util/filesystem.py:1668:35: error[invalid-argument-type] Argument to function
existsis incorrect: Expectedint | str | bytes | PathLike[str] | PathLike[bytes], foundSized | Unknown
- lib/spack/spack/llnl/util/filesystem.py:1674:25: error[invalid-argument-type] Argument to function
moveis incorrect: Expectedstr | PathLike[str], foundUnknown | Sized
- lib/spack/spack/llnl/util/filesystem.py:1674:25: error[invalid-argument-type] Argument to function
moveis incorrect: Expectedstr | PathLike[str], foundSized | Unknown
- lib/spack/spack/verify_libraries.py:164:46: error[invalid-argument-type] Argument to function
candidate_matchesis incorrect: Expectedbytes, foundUnknown | bytes | str | PathLike[str] | PathLike[bytes]
- lib/spack/spack/verify_libraries.py:164:46: error[invalid-argument-type] Argument to function
candidate_matchesis incorrect: Expectedbytes, foundbytes | Unknown | str | PathLike[str] | PathLike[bytes]
- lib/spack/spack/verify_libraries.py:165:17: error[invalid-assignment] Invalid subscript assignment with key of type
Unknown | bytes | str | PathLike[str] | PathLike[bytes]and value of typeUnknown | bytes | str | PathLike[str] | PathLike[bytes]on object of typedict[bytes, bytes]
- lib/spack/spack/verify_libraries.py:165:17: error[invalid-assignment] Invalid subscript assignment with key of type
bytes | Unknown | str | PathLike[str] | PathLike[bytes]and value of typebytes | Unknown | str | PathLike[str] | PathLike[bytes]on object of typedict[bytes, bytes]
- lib/spack/spack/verify_libraries.py:170:57: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedlist[bytes], foundlist[Unknown | bytes | str | PathLike[str] | PathLike[bytes]]
- lib/spack/spack/verify_libraries.py:170:57: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedlist[bytes], foundlist[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]
- lib/spack/spack/verify_libraries.py:170:69: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedlist[bytes], foundlist[Unknown | bytes | str | PathLike[str] | PathLike[bytes]]
- lib/spack/spack/verify_libraries.py:170:69: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedlist[bytes], foundlist[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]
aiortc (https://github.com/aiortc/aiortc)
- src/aiortc/sdp.py:446:52: error[invalid-argument-type] Argument is incorrect: Expected
str, foundNone | str | Unknown
- src/aiortc/sdp.py:446:52: error[invalid-argument-type] Argument is incorrect: Expected
str, foundNone | Unknown | str
kopf (https://github.com/nolar/kopf)
- kopf/on.py:924:22: error[invalid-assignment] Object of type
frozenset[Unknown | str]is not assignable toCollection[Literal["CREATE", "UPDATE", "DELETE", "CONNECT"]] | None - Found 295 diagnostics
- Found 294 diagnostics
rich (https://github.com/Textualize/rich)
- tests/test_tools.py:17:17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, Unknown | str]]
- tests/test_tools.py:17:17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, str | Unknown]]
- tests/test_tools.py🔞17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, Unknown | str]]
- tests/test_tools.py🔞17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, str | Unknown]]
- tests/test_tools.py:19:17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, Unknown | str]]
- tests/test_tools.py:19:17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, str | Unknown]]
- tests/test_tools.py:20:17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, Unknown | str]]
- tests/test_tools.py:20:17: error[invalid-argument-type] Argument to function
nextis incorrect: ExpectedSupportsNext[Unknown], foundIterable[tuple[bool, str | Unknown]]
sockeye (https://github.com/awslabs/sockeye)
- sockeye/output_handler.py:254:80: error[invalid-argument-type] Argument to function
__new__is incorrect: ExpectedIterable[Unknown | list[str]], foundlist[list[str]] | None
- sockeye/output_handler.py:254:80: error[invalid-argument-type] Argument to function
__new__is incorrect: ExpectedIterable[list[str] | Unknown], foundlist[list[str]] | None
porcupine (https://github.com/Akuli/porcupine)
- porcupine/pluginmanager.py:133:49: error[invalid-argument-type] Argument to function
__new__is incorrect: ExpectedIterable[Never], foundUnknown | str - Found 25 diagnostics
- Found 24 diagnostics
apprise (https://github.com/caronc/apprise)
- apprise/plugins/fortysixelks.py:161:23: error[invalid-assignment] Object of type
list[(str & ~Literal[""]) | None]is not assignable toIterable[str] | None
- apprise/plugins/fortysixelks.py:161:23: error[invalid-assignment] Object of type
list[(LiteralString & ~Literal[""]) | None]is not assignable toIterable[str] | None
meson (https://github.com/mesonbuild/meson)
- mesonbuild/backend/ninjabackend.py:1159:65: error[invalid-argument-type] Argument is incorrect: Expected
list[tuple[str, Literal["cpp", "fortran"]]], foundlist[tuple[str, str]] - mesonbuild/build.py:1052:29: error[invalid-assignment] Invalid subscript assignment with key of type
(Unknown & ~Literal["rust"]) | (str & ~Literal["rust"])and value of typeUnknown | Compileron object of typedict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler] - mesonbuild/build.py:1052:56: error[invalid-argument-type] Method
__getitem__of typebound method dict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler].__getitem__(key: Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], /) -> Compilercannot be called with key of typestron object of typedict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler] - mesonbuild/build.py:1054:29: error[invalid-assignment] Invalid subscript assignment with key of type
(Unknown & ~Literal["rust"]) | (str & ~Literal["rust"])and value of typeUnknown | Compileron object of typedict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler] - mesonbuild/build.py:1054:52: error[invalid-argument-type] Method
__getitem__of typebound method dict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler].__getitem__(key: Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], /) -> Compilercannot be called with key of typestron object of typedict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler] - mesonbuild/build.py:1617:34: error[invalid-argument-type] Argument to bound method
appendis incorrect: ExpectedLiteral["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], foundUnknown | str - mesonbuild/build.py:1695:36: error[invalid-argument-type] Method
__getitem__of typebound method dict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler].__getitem__(key: Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], /) -> Compilercannot be called with key of typestron object of typedict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler] - mesonbuild/build.py:3121:58: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expecteddict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler], founddict[Unknown | str, Unknown | Compiler] - mesonbuild/build.py:3121:69: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedBuildTargetKeywordArguments, founddict[Unknown | str, Unknown | bool | dict[Unknown | str, Unknown | list[str]] | list[IncludeDirs] | list[Dependency]]
- mesonbuild/build.py:3121:69: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedBuildTargetKeywordArguments, founddict[Unknown | str, Unknown | bool | dict[Unknown | Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Unknown | list[str]] | list[IncludeDirs] | list[Dependency]]
- mesonbuild/compilers/compilers.py:1287:78: error[invalid-argument-type] Argument to bound method
getis incorrect: ExpectedLiteral["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], foundstr - mesonbuild/dependencies/cuda.py:86:16: error[invalid-return-type] Return type does not match returned value: expected
Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], foundstr - mesonbuild/dependencies/cuda.py:137:76: error[invalid-argument-type] Argument to function
version_compare_manyis incorrect: Expectedstr, foundstr | None | Unknown
- mesonbuild/dependencies/cuda.py:137:76: error[invalid-argument-type] Argument to function
version_compare_manyis incorrect: Expectedstr, foundUnknown | str | None
- mesonbuild/interpreter/compiler.py:563:32: error[invalid-argument-type] Method
__getitem__of typebound method dict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler].__getitem__(key: Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], /) -> Compilercannot be called with key of typestron object of typedict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], Compiler] - Found 2217 diagnostics
- Found 2206 diagnostics
pyodide (https://github.com/pyodide/pyodide)
- pyodide-build/pyodide_build/recipe/skeleton.py:273:47: error[invalid-argument-type] Argument to function
_find_distis incorrect: Expectedlist[Literal["wheel", "sdist"]], foundlist[Unknown | str]
- pyodide-build/pyodide_build/recipe/skeleton.py:273:47: error[invalid-argument-type] Argument to function
_find_distis incorrect: Expectedlist[Literal["wheel", "sdist"]], foundlist[Unknown | Literal["wheel", "sdist"]] | list[Unknown | str]
- pyodide-build/pyodide_build/recipe/skeleton.py:418:47: error[invalid-argument-type] Argument to function
_find_distis incorrect: Expectedlist[Literal["wheel", "sdist"]], foundlist[Unknown | str] - Found 941 diagnostics
- Found 940 diagnostics
cloud-init (https://github.com/canonical/cloud-init)
- tests/unittests/distros/test_user_data_normalize.py:24:31: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expecteddict[Unknown, Unknown], foundUnknown | bool | list[Unknown] | ... omitted 3 union elements
- tests/unittests/distros/test_user_data_normalize.py:24:31: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expecteddict[Unknown, Unknown], foundUnknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements
- tests/unittests/sources/test_gce.py:71:31: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expecteddict[Unknown, Unknown], foundUnknown | bool | list[Unknown] | ... omitted 3 union elements
- tests/unittests/sources/test_gce.py:71:31: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expecteddict[Unknown, Unknown], foundUnknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements
- tests/unittests/test_ds_identify.py:468:19: error[unresolved-attribute] Attribute
splitis not defined onlist[Unknown | dict[Unknown | str, Unknown | str | int]],dict[Unknown | str, Unknown | str],list[Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]
- tests/unittests/test_ds_identify.py:468:19: error[unresolved-attribute] Attribute
splitis not defined onlist[Unknown | dict[Unknown | str, Unknown | str | int]],dict[Unknown | str, Unknown | str],list[Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements
- tests/unittests/test_ds_identify.py:987:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]
- tests/unittests/test_ds_identify.py:987:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements - tests/unittests/test_ds_identify.py:1028:9: error[no-matching-overload] No overload of bound method
updatematches arguments
- tests/unittests/test_ds_identify.py:1028:9: error[unresolved-attribute] Attribute
updateis not defined onstr,list[Unknown | dict[Unknown | str, Unknown | str | int]],list[Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]
- tests/unittests/test_ds_identify.py:1028:9: error[unresolved-attribute] Attribute
updateis not defined onstr,list[Unknown | dict[Unknown | str, Unknown | str | int]],list[Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements - tests/unittests/test_ds_identify.py:1044:9: error[no-matching-overload] No overload of bound method
updatematches arguments
- tests/unittests/test_ds_identify.py:1044:9: error[unresolved-attribute] Attribute
updateis not defined onstr,list[Unknown | dict[Unknown | str, Unknown | str | int]],list[Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]
- tests/unittests/test_ds_identify.py:1044:9: error[unresolved-attribute] Attribute
updateis not defined onstr,list[Unknown | dict[Unknown | str, Unknown | str | int]],list[Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements
- tests/unittests/test_ds_identify.py:1449:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str] - tests/unittests/test_ds_identify.py:1456:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str] - tests/unittests/test_ds_identify.py:1465:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str] - tests/unittests/test_ds_identify.py:1478:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]
- tests/unittests/test_ds_identify.py:1449:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements - tests/unittests/test_ds_identify.py:1456:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements - tests/unittests/test_ds_identify.py:1465:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements - tests/unittests/test_ds_identify.py:1478:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements
- tests/unittests/test_ds_identify.py:1499:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str] - tests/unittests/test_ds_identify.py:1517:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]
- tests/unittests/test_ds_identify.py:1499:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements - tests/unittests/test_ds_identify.py:1517:9: error[unresolved-attribute] Attribute
appendis not defined onstr,dict[Unknown | str, Unknown | str],dict[Unknown | LiteralString, Unknown | str]in unionUnknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | ... omitted 3 union elements
- Found 1150 diagnostics
- Found 1152 diagnostics
manticore (https://github.com/trailofbits/manticore)
- manticore/core/smtlib/solver.py:559:22: error[unsupported-operator] Operator
+is not supported between objects of typeint | bytes | UnknownandUnknown | int | bytes
- manticore/core/smtlib/solver.py:559:22: error[unsupported-operator] Operator
+is not supported between two objects of typeint | bytes | Unknown
xarray (https://github.com/pydata/xarray)
- xarray/backends/writers.py:207:20: error[invalid-return-type] Return type does not match returned value: expected
Literal["netcdf4", "h5netcdf", "scipy"], foundstr - Found 1713 diagnostics
- Found 1712 diagnostics
altair (https://github.com/vega/altair)
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedbool, foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedbool, foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: ExpectedLiteral["vega-lite", "vega"], foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: ExpectedLiteral["vega-lite", "vega"], foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedlist[str] | None, foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedlist[str] | None, foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expecteddict[str, Any] | None, foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4172:47: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expecteddict[str, Any] | None, foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedbool, foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedbool, foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: ExpectedLiteral["vega-lite", "vega"], foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: ExpectedLiteral["vega-lite", "vega"], foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedlist[str] | None, foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expectedlist[str] | None, foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expecteddict[str, Any] | None, foundbool | str | list[str] | ... omitted 3 union elements
- altair/vegalite/v6/api.py:4173:32: error[invalid-argument-type] Argument to bound method
to_dictis incorrect: Expecteddict[str, Any] | None, foundbool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ddtrace/appsec/_exploit_prevention/stack_traces.py:65:25: error[unsupported-operator] Operator
*is not supported between objects of typeUnknown | EnvVariable[int]andUnknown | EnvVariable[float | int]
- ddtrace/appsec/_exploit_prevention/stack_traces.py:65:25: error[unsupported-operator] Operator
*is not supported between objects of typeUnknown | EnvVariable[int]andUnknown | EnvVariable[int | float]
- ddtrace/appsec/_handlers.py:410:13: error[invalid-argument-type] Argument to bound method
add_configurationsis incorrect: Expectedlist[tuple[str, str, str]], foundlist[Unknown | tuple[str, int, Unknown]]
- ddtrace/appsec/_handlers.py:410:13: error[invalid-argument-type] Argument to bound method
add_configurationsis incorrect: Expectedlist[tuple[str, str, str]], foundlist[Unknown | tuple[Literal["DD_APPSEC_ENABLED"], int, Unknown]]
- tests/tracer/test_span.py:193:29: error[invalid-argument-type] Argument to bound method
set_metricis incorrect: Expectedint | float, foundint | float | complex | ... omitted 6 union elements
- tests/tracer/test_span.py:193:29: error[invalid-argument-type] Argument to bound method
set_metricis incorrect: Expectedint | float, foundint | Unknown | None | ... omitted 6 union elements
AutoSplit (https://github.com/Toufool/AutoSplit)
- src/user_profile.py:145:44: error[invalid-assignment] Invalid assignment to key "screenshot_on" with declared type
list[Literal["split", "start", "pause", "reset", "skip", "undo"]]on TypedDictUserProfileDict: value of typelist[str] - Found 32 diagnostics
- Found 31 diagnostics
bokeh (https://github.com/bokeh/bokeh)
- src/bokeh/embed/bundle.py:184:37: error[invalid-argument-type] Argument to bound method
cloneis incorrect: Expectedlist[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]] | None, foundlist[str] - src/bokeh/plotting/_figure.py:213:55: error[invalid-argument-type] Argument to function
process_axis_and_gridis incorrect: ExpectedLiteral["above", "below", "left", "right"] | None, foundUnknown | Nullable[Any | Literal["below"]]
- src/bokeh/plotting/_figure.py:213:55: error[invalid-argument-type] Argument to function
process_axis_and_gridis incorrect: ExpectedLiteral["above", "below", "left", "right"] | None, foundUnknown | Nullable[Any | str]
- src/bokeh/plotting/_figure.py:214:55: error[invalid-argument-type] Argument to function
process_axis_and_gridis incorrect: ExpectedLiteral["above", "below", "left", "right"] | None, foundUnknown | Nullable[Any | Literal["left"]]
- src/bokeh/plotting/_figure.py:214:55: error[invalid-argument-type] Argument to function
process_axis_and_gridis incorrect: ExpectedLiteral["above", "below", "left", "right"] | None, foundUnknown | Nullable[Any | str]
- src/bokeh/plotting/_figure.py:221:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedDrag | str | None, foundUnknown | Nullable[Any | Literal["auto"]]
- src/bokeh/plotting/_figure.py:221:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedDrag | str | None, foundUnknown | Nullable[Any | str]
- src/bokeh/plotting/_figure.py:222:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: Expectedlist[InspectTool] | InspectTool | str | None, foundUnknown | Nullable[Any | Literal["auto"]]
- src/bokeh/plotting/_figure.py:222:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: Expectedlist[InspectTool] | InspectTool | str | None, foundUnknown | Nullable[Any | str]
- src/bokeh/plotting/_figure.py:223:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedScroll | str | None, foundUnknown | Nullable[Any | Literal["auto"]]
- src/bokeh/plotting/_figure.py:223:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedScroll | str | None, foundUnknown | Nullable[Any | str]
- src/bokeh/plotting/_figure.py:224:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedTap | str | None, foundUnknown | Nullable[Any | Literal["auto"]]
- src/bokeh/plotting/_figure.py:224:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedTap | str | None, foundUnknown | Nullable[Any | str]
- src/bokeh/plotting/_figure.py:225:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedGestureTool | str | None, foundUnknown | Nullable[Any | Literal["auto"]]
- src/bokeh/plotting/_figure.py:225:13: error[invalid-argument-type] Argument to function
process_active_toolsis incorrect: ExpectedGestureTool | str | None, foundUnknown | Nullable[Any | str]
- src/bokeh/settings.py:747:46: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expected((str | int | None, /) -> Literal["none", "debug"] | int | None) | None, founddef convert_logging(value: str | int) -> int | None
- src/bokeh/settings.py:747:46: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expected((str | int | None, /) -> str | int | None) | None, founddef convert_logging(value: str | int) -> int | None
- Found 852 diagnostics
- Found 851 diagnostics
ibis (https://github.com/ibis-project/ibis)
- ibis/selectors.py:333:16: error[invalid-return-type] Return type does not match returned value: expected
frozenset[str], foundfrozenset[str | Buffer | Unknown]
- ibis/selectors.py:333:16: error[invalid-return-type] Return type does not match returned value: expected
frozenset[str], foundfrozenset[Unknown | str | Buffer]
- ibis/selectors.py:428:13: error[invalid-assignment] Object of type
frozenset[str | Unknown]is not assignable totuple[str | Column, ...]
- ibis/selectors.py:428:13: error[invalid-assignment] Object of type
frozenset[Unknown | str]is not assignable totuple[str | Column, ...]
- ibis/tests/expr/test_table.py:2010:9: error[invalid-argument-type] Argument to bound method
pivot_longeris incorrect: Expected((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None, founddict[str, Overload[(self: LiteralString) -> str, (self) -> str] | <class 'int'>]
- ibis/tests/expr/test_table.py:2010:9: error[invalid-argument-type] Argument to bound method
pivot_longeris incorrect: Expected((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None, founddict[str, Overload[(self: LiteralString) -> LiteralString, (self) -> str] | <class 'int'>]
- ibis/tests/expr/test_table.py:2033:13: error[invalid-argument-type] Argument to bound method
pivot_longeris incorrect: Expected((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None, founddict[str, Overload[(self: LiteralString) -> str, (self) -> str] | <class 'int'>]
- ibis/tests/expr/test_table.py:2033:13: error[invalid-argument-type] Argument to bound method
pivot_longeris incorrect: Expected((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None, founddict[str, Overload[(self: LiteralString) -> LiteralString, (self) -> str] | <class 'int'>]
pandas (https://github.com/pandas-dev/pandas)
- pandas/core/arrays/arrow/array.py:2119:70: warning[unused-type-ignore-comment] Unused blanket
type: ignoredirective
- pandas/core/arrays/interval.py:979:73: error[invalid-argument-type] Argument to bound method
_ensure_simple_new_inputsis incorrect: ExpectedLiteral["left", "right", "both", "neither"] | None, foundUnknown | str
- pandas/core/arrays/string_.py:1040:39: warning[unused-type-ignore-comment] Unused blanket
type: ignoredirective
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedExtensionDtype | str | dtype[Any] | ... omitted 3 union elements, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedExtensionDtype | str | dtype[Any] | ... omitted 3 union elements, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool | list[str], foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool | list[str], foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedLiteral["pyarrow", "numpy_nullable"] | _NoDefault, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1069:38: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedLiteral["pyarrow", "numpy_nullable"] | _NoDefault, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedExtensionDtype | str | dtype[Any] | ... omitted 3 union elements, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedExtensionDtype | str | dtype[Any] | ... omitted 3 union elements, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool | list[str], foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool | list[str], foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expectedbool, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedLiteral["pyarrow", "numpy_nullable"] | _NoDefault, foundUnknown | bool | None | str | _NoDefault
- pandas/io/json/_json.py:1073:39: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedLiteral["pyarrow", "numpy_nullable"] | _NoDefault, foundUnknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault
- pandas/tests/scalar/period/test_arithmetic.py:452:17: error[unsupported-operator] Operator
>is not supported between objects of typeUnknown | Period | intandUnknown | int | Period
- pandas/tests/scalar/period/test_arithmetic.py:452:17: error[unsupported-operator] Operator
>is not supported between two objects of typeUnknown | Period | int
- pandas/tests/scalar/period/test_arithmetic.py:454:17: error[unsupported-operator] Operator
>=is not supported between objects of typeUnknown | Period | intandUnknown | int | Period
- pandas/tests/scalar/period/test_arithmetic.py:454:17: error[unsupported-operator] Operator
>=is not supported between two objects of typeUnknown | Period | int
- pandas/tests/scalar/period/test_arithmetic.py:456:17: error[unsupported-operator] Operator
<is not supported between objects of typeUnknown | Period | intandUnknown | int | Period
- pandas/tests/scalar/period/test_arithmetic.py:456:17: error[unsupported-operator] Operator
<is not supported between two objects of typeUnknown | Period | int
- pandas/tests/scalar/period/test_arithmetic.py:458:17: error[unsupported-operator] Operator
<=is not supported between objects of typeUnknown | Period | intandUnknown | int | Period
- pandas/tests/scalar/period/test_arithmetic.py:458:17: error[unsupported-operator] Operator
<=is not supported between two objects of typeUnknown | Period | int
- pandas/tests/scalar/period/test_arithmetic.py:471:24: error[unsupported-operator] Operator
<is not supported between objects of typeUnknown | NaTType | Period | TimestampandUnknown | Period | NaTType | Timestamp
- pandas/tests/scalar/period/test_arithmetic.py:471:24: error[unsupported-operator] Operator
<is not supported between two objects of typeUnknown | NaTType | Period | Timestamp
- pandas/tests/scalar/period/test_arithmetic.py:472:24: error[unsupported-operator] Operator
>is not supported between objects of typeUnknown | NaTType | Period | TimestampandUnknown | Period | NaTType | Timestamp
- pandas/tests/scalar/period/test_arithmetic.py:472:24: error[unsupported-operator] Operator
>is not supported between two objects of typeUnknown | NaTType | Period | Timestamp
- pandas/tests/scalar/period/test_arithmetic.py:475:24: error[unsupported-operator] Operator
<=is not supported between objects of typeUnknown | NaTType | Period | TimestampandUnknown | Period | NaTType | Timestamp
- pandas/tests/scalar/period/test_arithmetic.py:475:24: error[unsupported-operator] Operator
<=is not supported between two objects of typeUnknown | NaTType | Period | Timestamp
- pandas/tests/scalar/period/test_arithmetic.py:476:24: error[unsupported-operator] Operator
>=is not supported between objects of typeUnknown | NaTType | Period | TimestampandUnknown | Period | NaTType | Timestamp
- pandas/tests/scalar/period/test_arithmetic.py:476:24: error[unsupported-operator] Operator
>=is not supported between two objects of typeUnknown | NaTType | Period | Timestamp
- pandas/tests/scalar/timedelta/test_arithmetic.py:1201:13: error[unsupported-operator] Operator
+is not supported between objects of typeUnknown | Timedelta | strandUnknown | str | Timedelta
- pandas/tests/scalar/timedelta/test_arithmetic.py:1201:13: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | Timedelta | str
- pandas/tests/scalar/timedelta/test_arithmetic.py:1205:13: error[unsupported-operator] Operator
>is not supported between objects of typeUnknown | Timedelta | strandUnknown | str | Timedelta
- pandas/tests/scalar/timedelta/test_arithmetic.py:1205:13: error[unsupported-operator] Operator
>is not supported between two objects of typeUnknown | Timedelta | str
- pandas/tests/series/test_cumulative.py:48:20: error[invalid-argument-type] Argument to bound method
accumulateis incorrect: Argument type_UFunc_Nin2_Nout1[str, int, None]does not satisfy upper bound_UFunc_Nin2_Nout1[_NameType@_UFunc_Nin2_Nout1, _NTypes@_UFunc_Nin2_Nout1, _IDType@_UFunc_Nin2_Nout1]of type variableSelf - pandas/tests/series/test_cumulative.py:54:20: error[invalid-argument-type] Argument to bound method
accumulateis incorrect: Argument type_UFunc_Nin2_Nout1[str, int, None]does not satisfy upper bound_UFunc_Nin2_Nout1[_NameType@_UFunc_Nin2_Nout1, _NTypes@_UFunc_Nin2_Nout1, _IDType@_UFunc_Nin2_Nout1]of type variableSelf - pandas/tests/series/test_cumulative.py:154:20: error[invalid-argument-type] Argument to bound method
accumulateis incorrect: Argument type_UFunc_Nin2_Nout1[str, int, None]does not satisfy upper bound_UFunc_Nin2_Nout1[_NameType@_UFunc_Nin2_Nout1, _NTypes@_UFunc_Nin2_Nout1, _IDType@_UFunc_Nin2_Nout1]of type variableSelf - Found 4453 diagnostics
- Found 4451 diagnostics
sympy (https://github.com/sympy/sympy)
- sympy/algebras/tests/test_quaternion.py:422:33: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/codegen/tests/test_matrix_nodes.py:27:21: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/geometry/tests/test_util.py:128:55: error[invalid-argument-type] Argument to function
subsetsis incorrect: ExpectedSequence[Unknown], foundset[Point2D | Unknown]
- sympy/geometry/tests/test_util.py:128:55: error[invalid-argument-type] Argument to function
subsetsis incorrect: ExpectedSequence[Unknown], foundset[Unknown | Point2D]
- sympy/matrices/eigen.py:1202:37: error[unresolved-attribute] Object of type
T2'return@call_highest_priority | T1'return@call_highest_priorityhas no attributepow - sympy/matrices/expressions/tests/test_blockmatrix.py:235:13: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/expressions/tests/test_blockmatrix.py:235:33: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/expressions/tests/test_blockmatrix.py:235:53: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/expressions/tests/test_blockmatrix.py:459:12: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/expressions/tests/test_derivatives.py:551:26: error[unsupported-operator] Operator
+is not supported between two objects of typeMatrixBase | Expr - sympy/matrices/expressions/tests/test_matadd.py:36:12: error[unsupported-operator] Operator
+is not supported between objects of typeMatrixBaseandMatrixBase | Expr - sympy/matrices/expressions/tests/test_matpow.py:124:47: error[unsupported-operator] Operator
+is not supported between two objects of typeImmutableDenseMatrix - sympy/matrices/inverse.py:385:11: error[unsupported-operator] Operator
-is not supported between objects of typeMatrixBaseandMatrixBase | Expr | Unknown - sympy/matrices/inverse.py:393:11: error[unsupported-operator] Operator
+is not supported between objects of typeMatrixBaseandMatrixBase | Expr | Unknown - sympy/matrices/matrixbase.py:979:18: error[unsupported-operator] Operator
+is not supported between two objects of typeSelf@_eval_wilkinson - sympy/matrices/matrixbase.py:2957:16: error[invalid-return-type] Return type does not match returned value: expected
Self@_eval_pow_by_cayley, foundSelf@_eval_pow_by_cayley | T2'return@call_highest_priority | T1'return@call_highest_priority | Unknown - sympy/matrices/matrixbase.py:3256:16: error[invalid-return-type] Return type does not match returned value: expected
MatrixBase, foundT2'return@call_highest_priority | T1'return@call_highest_priority - sympy/matrices/matrixbase.py:3256:29: error[invalid-argument-type] Argument is incorrect: Expected
T2'return@call_highest_priority | T1'return@call_highest_priority, foundMatrixBase - sympy/matrices/matrixbase.py:3310:16: error[unsupported-operator] Operator
+is not supported between two objects of typeMatrixBase - sympy/matrices/matrixbase.py:3314:16: error[invalid-return-type] Return type does not match returned value: expected
Tmat@__sub__, foundMatrixBase - sympy/matrices/matrixbase.py:4386:16: error[unsupported-operator] Operator
+is not supported between two objects of typeSelf@add - sympy/matrices/matrixbase.py:4923:16: error[invalid-return-type] Return type does not match returned value: expected
Self@analytic_func, foundSelf@analytic_func | T2'return@call_highest_priority | T1'return@call_highest_priority | Unknown - sympy/matrices/repmatrix.py:321:17: error[unsupported-operator] Operator
-is not supported between two objects of typeSelf@_eval_is_symmetric - sympy/matrices/solvers.py:741:12: error[invalid-return-type] Return type does not match returned value: expected
Tmat@_pinv_solve, foundT2'return@call_highest_priority | T1'return@call_highest_priority - sympy/matrices/tests/test_commonmatrix.py:1249:31: error[unsupported-operator] Operator
+is not supported between objects of typeMutableDenseMatrixandImmutableDenseNDimArray - sympy/matrices/tests/test_eigen.py:406:20: error[invalid-argument-type] Argument to function
maxis incorrect: ExpectedIterable[Unknown], foundMatrixBase | Unknown - sympy/matrices/tests/test_immutable.py:105:23: error[unsupported-operator] Operator
+is not supported between two objects of typeImmutableDenseMatrix - sympy/matrices/tests/test_matrices.py:121:12: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:123:32: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:141:12: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:2179:22: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/matrices/tests/test_matrices.py:2207:26: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/matrices/tests/test_matrices.py:2908:21: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:2921:13: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:2936:13: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:2937:13: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:2948:14: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:3471:21: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrices.py:3478:12: error[unresolved-attribute] Attribute
rankis not defined onMatrixExprin unionMatrixBase | MatrixExpr | Unknown - sympy/matrices/tests/test_matrices.py:3479:12: error[unresolved-attribute] Attribute
rankis not defined onMatrixExprin unionMatrixBase | MatrixExpr | Unknown - sympy/matrices/tests/test_matrixbase.py:491:12: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:493:32: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:544:12: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:823:31: error[unsupported-operator] Operator
+is not supported between objects of typeMutableDenseMatrixandImmutableDenseNDimArray - sympy/matrices/tests/test_matrixbase.py:876:12: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:878:32: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:900:12: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:2931:22: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:2959:26: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:3610:21: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:3624:13: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:3639:13: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:3640:13: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_matrixbase.py:3652:14: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_reductions.py:377:21: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_reductions.py:384:12: error[unresolved-attribute] Attribute
rankis not defined onMatrixExprin unionMatrixBase | MatrixExpr | Unknown - sympy/matrices/tests/test_reductions.py:385:12: error[unresolved-attribute] Attribute
rankis not defined onMatrixExprin unionMatrixBase | MatrixExpr | Unknown - sympy/matrices/tests/test_solvers.py:68:13: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/matrices/tests/test_sparse.py:573:12: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableSparseMatrix - sympy/matrices/tests/test_sparse.py:577:52: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableSparseMatrix - sympy/matrices/tests/test_sparse.py:593:17: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableSparseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:13:6: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:16:38: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:16:84: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:16:131: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:21:44: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:21:90: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:21:137: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:25:37: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:25:83: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/parsing/autolev/test-examples/ruletest5.py:25:130: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/physics/biomechanics/curve.py:248:31: error[unsupported-operator] Operator
-is not supported between objects of typeBasic | UnknownandUnknown | Basic
- sympy/physics/biomechanics/curve.py:248:31: error[unsupported-operator] Operator
-is not supported between two objects of typeBasic | Unknown
- sympy/physics/biomechanics/curve.py:250:42: error[unsupported-operator] Operator
-is not supported between objects of typeBasic | UnknownandUnknown | Basic
- sympy/physics/biomechanics/curve.py:250:42: error[unsupported-operator] Operator
-is not supported between two objects of typeBasic | Unknown
- sympy/physics/biomechanics/curve.py:467:25: error[unsupported-operator] Operator
+is not supported between objects of typeBasic | UnknownandUnknown | Basic
- sympy/physics/biomechanics/curve.py:467:25: error[unsupported-operator] Operator
+is not supported between two objects of typeBasic | Unknown
- sympy/physics/biomechanics/curve.py:469:37: error[unsupported-operator] Operator
+is not supported between objects of typeBasic | UnknownandUnknown | Basic
- sympy/physics/biomechanics/curve.py:469:37: error[unsupported-operator] Operator
+is not supported between two objects of typeBasic | Unknown
- sympy/physics/biomechanics/curve.py:1463:27: error[unsupported-operator] Operator
*is not supported between objects of typeUnknown | BasicandBasic | Unknown
- sympy/physics/biomechanics/curve.py:1463:27: error[unsupported-operator] Operator
*is not supported between two objects of typeUnknown | Basic
- sympy/physics/biomechanics/curve.py:1463:53: error[unsupported-operator] Operator
*is not supported between objects of typeUnknown | BasicandBasic | Unknown
- sympy/physics/biomechanics/curve.py:1463:53: error[unsupported-operator] Operator
*is not supported between two objects of typeUnknown | Basic
- sympy/physics/biomechanics/curve.py:1465:23: error[unsupported-operator] Operator
*is not supported between objects of typeUnknown | BasicandBasic | Unknown
- sympy/physics/biomechanics/curve.py:1465:23: error[unsupported-operator] Operator
*is not supported between two objects of typeUnknown | Basic
- sympy/physics/biomechanics/curve.py:1465:64: error[unsupported-operator] Operator
*is not supported between objects of typeUnknown | BasicandBasic | Unknown
- sympy/physics/biomechanics/curve.py:1465:64: error[unsupported-operator] Operator
*is not supported between two objects of typeUnknown | Basic
- sympy/physics/biomechanics/curve.py:1687:27: error[unsupported-operator] Operator
-is not supported between objects of typeBasic | UnknownandUnknown | Basic
- sympy/physics/biomechanics/curve.py:1687:27: error[unsupported-operator] Operator
-is not supported between two objects of typeBasic | Unknown
- sympy/physics/biomechanics/curve.py:1689:38: error[unsupported-operator] Operator
-is not supported between objects of typeBasic | UnknownandUnknown | Basic
- sympy/physics/biomechanics/curve.py:1689:38: error[unsupported-operator] Operator
-is not supported between two objects of typeBasic | Unknown
- sympy/physics/control/tests/test_lti.py:3777:31: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/physics/control/tests/test_lti.py:3777:38: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/physics/mechanics/lagrange.py:222:23: error[unsupported-operator] Operator
-is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/physics/mechanics/lagrange.py:346:17: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/physics/mechanics/linearize.py:217:28: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/physics/mechanics/linearize.py:229:29: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/physics/mechanics/linearize.py:241:29: error[unsupported-operator] Operator
+is not supported between two objects of typeUnknown | MutableDenseMatrix - sympy/physics/mechanics/tests/test_jointsmethod.py:247:17: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/physics/mechanics/tests/test_jointsmethod.py:249:17: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - sympy/physics/quantum/tests/test_represent.py:89:17: error[unsupported-operator] Operator
+is not supported between objects of typeMatrixBase | ExprandMatrixBase - sympy/physics/quantum/tests/test_represent.py:91:24: error[unsupported-operator] Operator
-is not supported between two objects of typeMatrixBase | Expr - sympy/physics/quantum/tests/test_represent.py:93:28: error[unsupported-operator] Operator
+is not supported between two objects of typeMatrixBase | Expr - sympy/physics/vector/functions.py:380:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedIterable[Unknown], foundMatrixBase | Unknown - sympy/simplify/cse_main.py:299:23: error[not-iterable] Object of type
Unknown | Sizedmay not be iterable
- sympy/simplify/cse_main.py:299:23: error[not-iterable] Object of type
Sized | Unknownmay not be iterable
- sympy/simplify/cse_main.py:305:16: error[unsupported-operator] Operator
inis not supported between objects of typeUnknownandUnknown | Sized
- sympy/simplify/cse_main.py:305:16: error[unsupported-operator] Operator
inis not supported between objects of typeUnknownandSized | Unknown
- sympy/solvers/tests/test_numeric.py:137:11: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/solvers/tests/test_solvers.py:722:19: error[unsupported-operator] Operator
-is not supported between two objects of typeMatrixBase | Expr - sympy/solvers/tests/test_solvers.py:723:19: error[unsupported-operator] Operator
-is not supported between two objects of typeMatrixBase | Expr - sympy/solvers/tests/test_solvers.py:724:19: error[unsupported-operator] Operator
-is not supported between two objects of typeMatrixBase | Expr - sympy/solvers/tests/test_solvers.py:724:30: error[unsupported-operator] Operator
-is not supported between two objects of typeMatrixBase | Expr - sympy/stats/symbolic_probability.py:531:55: error[unresolved-attribute] Attribute
expandis not defined onBasicin unionUnknown | Basic
- sympy/stats/symbolic_probability.py:531:55: error[unresolved-attribute] Attribute
expandis not defined onBasicin unionBasic | Unknown
- sympy/stats/symbolic_probability.py:532:55: error[unresolved-attribute] Attribute
expandis not defined onBasicin unionUnknown | Basic
- sympy/stats/symbolic_probability.py:532:55: error[unresolved-attribute] Attribute
expandis not defined onBasicin unionBasic | Unknown
- sympy/stats/tests/test_symbolic_multivariate.py:84:36: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/stats/tests/test_symbolic_multivariate.py:84:84: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/stats/tests/test_symbolic_multivariate.py:85:36: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/tensor/tests/test_tensor.py:1693:19: error[unsupported-operator] Operator
+is not supported between two objects of typeMutableDenseMatrix - sympy/tensor/tests/test_tensor.py:1694:23: error[unsupported-operator] Operator
-is not supported between two objects of typeMutableDenseMatrix - Found 16085 diagnostics
- Found 15993 diagnostics
jax (https://github.com/google/jax)
- jax/_src/export/_export.py:1376:45: error[invalid-argument-type] Argument to function
_get_named_shardingis incorrect: ExpectedShapedArray, foundAbstractValue | Unknown
- jax/_src/export/_export.py:1376:45: error[invalid-argument-type] Argument to function
_get_named_shardingis incorrect: ExpectedShapedArray, foundUnknown | AbstractValue
rotki (https://github.com/rotki/rotki)
- rotkehlchen/api/services/transactions.py:304:60: error[invalid-argument-type] Argument to function
from_chainis incorrect: ExpectedLiteral[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, SupportedBlockchain.BASE, ... omitted 7 literals], foundUnknown | SupportedBlockchain - rotkehlchen/api/services/transactions.py:307:25: error[invalid-argument-type] Argument to bound method
reset_events_for_redecodeis incorrect: ExpectedLiteral[Location.ETHEREUM, Location.OPTIMISM, Location.POLYGON_POS, Location.ARBITRUM_ONE, Location.BASE, ... omitted 7 literals], foundUnknown | Location - rotkehlchen/chain/aggregator.py:390:40: error[invalid-argument-
... (truncated 66 lines) ...