[ty] Fix @Todo type for starred expressions by AlexWaygood · Pull Request #22503 · astral-sh/ruff (original) (raw)
mypy_primer results
Changes were detected when running on open source projects
anyio (https://github.com/agronholm/anyio)
- src/anyio/_core/_sockets.py:385:56: error[invalid-argument-type] Argument to function
setup_raw_socketis incorrect: Expectedtuple[str, int] | tuple[str, int, int, int], foundtuple[str | Unknown, int, @Todo(StarredExpression)] - Found 93 diagnostics
- Found 92 diagnostics
pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
- pytest_robotframework/_internal/robot/utils.py:232:25: warning[redundant-cast] Value is already of type
list[object] | None
- Found 172 diagnostics
- Found 173 diagnostics
spack (https://github.com/spack/spack)
- lib/spack/spack/llnl/util/link_tree.py:116:20: error[invalid-return-type] Return type does not match returned value: expected
tuple[str, str, str], foundtuple[str, @Todo(StarredExpression)] - lib/spack/spack/llnl/util/link_tree.py:151:20: error[invalid-return-type] Return type does not match returned value: expected
tuple[str, str, str], foundtuple[str, @Todo(StarredExpression)] - lib/spack/spack/spec.py:5857:69: error[invalid-assignment] Not enough values to unpack: Expected 3
- Found 4318 diagnostics
- Found 4315 diagnostics
black (https://github.com/psf/black)
- src/black/cache.py:144:59: error[invalid-assignment] Object of type
dict[str | Unknown, tuple[@Todo(StarredExpression)] | Unknown]is not assignable todict[str, tuple[int | float, int, str]] - Found 54 diagnostics
- Found 53 diagnostics
pytest (https://github.com/pytest-dev/pytest)
- src/_pytest/reports.py:302:12: error[invalid-return-type] Return type does not match returned value: expected
tuple[str, int, str], foundtuple[@Todo(StarredExpression), str] - src/_pytest/terminal.py:1583:23: error[invalid-argument-type] Argument to bound method
appendis incorrect: Expectedtuple[int, str, int | None, str], foundtuple[int, @Todo(StarredExpression)] - Found 423 diagnostics
- Found 421 diagnostics
scrapy (https://github.com/scrapy/scrapy)
- tests/test_downloaderslotssettings.py:44:13: error[invalid-assignment] Invalid subscript assignment with key of type
Unknown | (str & ~AlwaysFalsy) | (dict[Unknown | str, Unknown | int] & ~AlwaysFalsy)and value of typelist[int | float]on object of typedict[str, list[int | float]]
- Found 1785 diagnostics
- Found 1786 diagnostics
mkosi (https://github.com/systemd/mkosi)
- mkosi/init.py:4426:9: error[invalid-argument-type] Argument to function
runis incorrect: ExpectedSequence[Path | str], foundlist[Path | None | str | @Todo(StarredExpression)]
- mkosi/init.py:4426:9: error[invalid-argument-type] Argument to function
runis incorrect: ExpectedSequence[Path | str], foundlist[Path | None | str]
poetry (https://github.com/python-poetry/poetry)
- src/poetry/utils/env/mock_env.py:34:28: error[invalid-assignment] Object of type
tuple[@Todo(StarredExpression), Literal["final"], Literal[0]]is not assignable totuple[int, int, int] | tuple[int, int, int, str, int]
- src/poetry/utils/env/mock_env.py:34:28: error[invalid-assignment] Object of type
tuple[*tuple[int | str, ...], Literal["final"], Literal[0]]is not assignable totuple[int, int, int] | tuple[int, int, int, str, int]
tornado (https://github.com/tornadoweb/tornado)
- tornado/gen.py:255:62: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedNone | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown], found_T@next | _T@next | _VT@next
- tornado/gen.py:255:62: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedNone | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown], found_T@next | _VT@next | _T@next
vision (https://github.com/pytorch/vision)
- test/test_datasets.py:698:9: error[invalid-assignment] Invalid subscript assignment with key of type
Literal["trainval"]and value of typetuple[int, ...]on object of typedict[str, tuple[int, int, int] | tuple[int, int] | tuple[int]]
- torchvision/datasets/utils.py:268:16: error[invalid-return-type] Return type does not match returned value: expected
tuple[str, str | None, str | None], foundtuple[@Todo, @Todo(StarredExpression)]
freqtrade (https://github.com/freqtrade/freqtrade)
- freqtrade/commands/data_commands.py:172:21: error[invalid-assignment] Not enough values to unpack: Expected 6
- freqtrade/commands/data_commands.py:226:21: error[invalid-assignment] Not enough values to unpack: Expected 4
- Found 654 diagnostics
- Found 652 diagnostics
Tanjun (https://github.com/FasterSpeeding/Tanjun)
- tanjun/dependencies/data.py:347:12: error[invalid-return-type] Return type does not match returned value: expected
_T@cached_inject, foundCoroutine[Any, Any, _T@cached_inject | Coroutine[Any, Any, _T@cached_inject]] | _T@cached_inject
- tanjun/dependencies/data.py:347:12: error[invalid-return-type] Return type does not match returned value: expected
_T@cached_inject, found_T@cached_inject | Coroutine[Any, Any, _T@cached_inject | Coroutine[Any, Any, _T@cached_inject]]
sphinx (https://github.com/sphinx-doc/sphinx)
- sphinx/ext/apidoc/_generate.py:43:21: error[unsupported-operator] Operator
+is not supported between objects of typeLiteral["__init__"]andSized | @Todo(StarredExpression)
- sphinx/ext/apidoc/_generate.py:43:21: error[unsupported-operator] Operator
+is not supported between objects of typeLiteral["__init__"]andSized
discord.py (https://github.com/Rapptz/discord.py)
- discord/app_commands/transformers.py:584:13: error[invalid-assignment] Not enough values to unpack: Expected 3
- discord/ext/commands/converter.py:1241:13: error[invalid-assignment] Not enough values to unpack: Expected 3
- Found 548 diagnostics
- Found 546 diagnostics
pyodide (https://github.com/pyodide/pyodide)
- pyodide-build/pyodide_build/recipe/graph_builder.py:167:13: error[no-matching-overload] No overload of function
runmatches arguments - pyodide-build/pyodide_build/xbuildenv.py:307:18: error[no-matching-overload] No overload of function
runmatches arguments
- Found 935 diagnostics
- Found 937 diagnostics
openlibrary (https://github.com/internetarchive/openlibrary)
- openlibrary/i18n/init.py:209:13: error[invalid-assignment] Not enough values to unpack: Expected 6
- openlibrary/i18n/init.py:209:13: error[invalid-assignment] Not enough values to unpack: Expected 6
- openlibrary/plugins/worksearch/code.py:309:59: error[invalid-argument-type] Argument to bound method
q_to_solr_paramsis incorrect: Expectedlist[tuple[str, str]], foundlist[Unknown | tuple[str, Unknown | int] | tuple[str, str]]
- openlibrary/plugins/worksearch/code.py:309:59: error[invalid-argument-type] Argument to bound method
q_to_solr_paramsis incorrect: Expectedlist[tuple[str, str]], foundlist[Unknown | tuple[str, str] | tuple[str, Unknown | int]]
- openlibrary/utils/isbn.py:112:12: error[invalid-return-type] Return type does not match returned value: expected
tuple[str | None, str | None, str | None], foundtuple[str | None, @Todo(StarredExpression)] - Found 1149 diagnostics
- Found 1146 diagnostics
apprise (https://github.com/caronc/apprise)
- tests/test_plugin_email.py:634:5: error[invalid-assignment] Object of type
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]is not assignable to attributeEMAIL_TEMPLATESof typetuple[tuple[Literal["Google Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Yandex"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Hotmail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Outlook"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Office 365"], Pattern[str], dict[Unknown | str, Unknown | int | str]], tuple[Literal["Yahoo Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Fast Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Fast Mail Extended Addresses"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Zoho Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["SendGrid"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["163.com"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Foxmail.com"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Comcast.net"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Local Mail Server"], Pattern[str], dict[Unknown | str, Unknown | str | None]], tuple[Literal["Custom"], Pattern[str], dict[Unknown | str, Unknown | None]]]
- tests/test_plugin_email.py:634:5: error[invalid-assignment] Object of type
tuple[tuple[Literal["Testing Lookup"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Google Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Yandex"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Hotmail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Outlook"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Office 365"], Pattern[str], dict[Unknown | str, Unknown | int | str]], tuple[Literal["Yahoo Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Fast Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Fast Mail Extended Addresses"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Zoho Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["SendGrid"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["163.com"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Foxmail.com"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Comcast.net"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Local Mail Server"], Pattern[str], dict[Unknown | str, Unknown | str | None]], tuple[Literal["Custom"], Pattern[str], dict[Unknown | str, Unknown | None]]]is not assignable to attributeEMAIL_TEMPLATESof typetuple[tuple[Literal["Google Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Yandex"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Hotmail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Outlook"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Microsoft Office 365"], Pattern[str], dict[Unknown | str, Unknown | int | str]], tuple[Literal["Yahoo Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Fast Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Fast Mail Extended Addresses"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Zoho Mail"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["SendGrid"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["163.com"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Foxmail.com"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Comcast.net"], Pattern[str], dict[Unknown | str, Unknown | int | str | tuple[Unknown | str]]], tuple[Literal["Local Mail Server"], Pattern[str], dict[Unknown | str, Unknown | str | None]], tuple[Literal["Custom"], Pattern[str], dict[Unknown | str, Unknown | None]]]
strawberry (https://github.com/strawberry-graphql/strawberry)
- strawberry/federation/schema.py:83:17: error[invalid-assignment] Object of type
list[@Todo(StarredExpression) | <NewType pseudo-class 'FederationAny'>]is not assignable toIterable[type]
- strawberry/federation/schema.py:83:17: error[invalid-assignment] Object of type
list[type | <NewType pseudo-class 'FederationAny'>]is not assignable toIterable[type]
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ddtrace/internal/coverage/instrumentation_py3_11.py:338:46: error[invalid-argument-type] Argument to bound method
from_bytesis incorrect: ExpectedIterable[SupportsIndex] | SupportsBytes | Buffer, foundlist[bytes | Unknown] - ddtrace/internal/coverage/instrumentation_py3_12.py:216:46: error[invalid-argument-type] Argument to bound method
from_bytesis incorrect: ExpectedIterable[SupportsIndex] | SupportsBytes | Buffer, foundlist[bytes | Unknown]
- Found 8396 diagnostics
- Found 8398 diagnostics
scipy-stubs (https://github.com/scipy/scipy-stubs)
- tests/integrate/test_ode.pyi:30:1: error[type-assertion-failure] Type
int | floatdoes not match asserted typeUnknown
- tests/integrate/test_ode.pyi:30:1: error[type-assertion-failure] Type
int | floatdoes not match asserted type@Todo
prefect (https://github.com/PrefectHQ/prefect)
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:461:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, Unknown | None]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:461:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, None | Unknown]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:535:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, Unknown | None]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:535:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, None | Unknown]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:610:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, Unknown | None]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:610:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, None | Unknown]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:685:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, Unknown | None]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:685:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, None | Unknown]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:760:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, Unknown | None]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:760:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, None | Unknown]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:835:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, Unknown | None]is not awaitable
- src/integrations/prefect-dbt/prefect_dbt/cli/commands.py:835:21: error[invalid-await]
Unknown | None | Coroutine[Any, Any, None | Unknown]is not awaitable - src/prefect/blocks/core.py:86:33: error[invalid-assignment] Object of type
tuple[<class 'list'>, <class 'dict'>, <class 'tuple'>, *tuple[<special-form 'typing.Union'> | <class 'UnionType'>, ...]]is not assignable totuple[type, ...]
- Found 5370 diagnostics
- Found 5371 diagnostics
jax (https://github.com/google/jax)
- jax/_src/interpreters/ad.py:60:25: error[invalid-argument-type] Argument to function
annotateis incorrect: Expectedtuple[AbstractValue] | None, foundtuple[@Todo(StarredExpression), @Todo(StarredExpression)]
- jax/_src/interpreters/ad.py:60:25: error[invalid-argument-type] Argument to function
annotateis incorrect: Expectedtuple[AbstractValue] | None, foundtuple[AbstractValue | Unknown, ...]
- jax/_src/interpreters/partial_eval.py:800:38: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - jax/_src/lax/control_flow/conditionals.py:231:7: error[invalid-assignment] Not enough values to unpack: Expected 4
- jax/_src/pallas/fuser/block_spec.py:854:10: error[invalid-return-type] Return type does not match returned value: expected
Sequence[BlockSpec], foundlist[NoBlockSpec | @Todo(StarredExpression)]
- jax/_src/pallas/fuser/block_spec.py:854:10: error[invalid-return-type] Return type does not match returned value: expected
Sequence[BlockSpec], foundlist[NoBlockSpec | Unknown | BlockSpec]
- jax/_src/pallas/hlo_interpreter.py:399:33: error[invalid-argument-type] Argument to function
padis incorrect: ExpectedSequence[tuple[int, int, int]], foundlist[tuple[@Todo(StarredExpression), int] | Unknown]
- jax/_src/pallas/hlo_interpreter.py:399:33: error[invalid-argument-type] Argument to function
padis incorrect: ExpectedSequence[tuple[int, int, int]], foundlist[tuple[*tuple[int | Unknown, ...], int] | Unknown]
- jax/experimental/mosaic/gpu/utils.py:2042:10: error[invalid-return-type] Return type does not match returned value: expected
tuple[Unknown, Unknown, Unknown, Unknown], foundtuple[@Todo(StarredExpression), Unknown] - jax/experimental/pallas/ops/gpu/all_gather_mgpu.py:91:6: error[unsupported-operator] Operator
%is not supported between objects of type@Todo(StarredExpression) | intandint | None
- jax/experimental/pallas/ops/gpu/all_gather_mgpu.py:91:6: error[unsupported-operator] Operator
%is not supported between objects of typeintandint | None
- jax/experimental/pallas/ops/gpu/reduce_scatter_mgpu.py:106:6: error[unsupported-operator] Operator
%is not supported between objects of typeUnknown | Literal[1]andint | None
- jax/experimental/pallas/ops/gpu/reduce_scatter_mgpu.py:106:6: error[unsupported-operator] Operator
%is not supported between objects of typeintandint | None
- jax/experimental/slab/slab.py:248:3: error[invalid-assignment] Not enough values to unpack: Expected 3
- Found 2855 diagnostics
- Found 2851 diagnostics
altair (https://github.com/vega/altair)
- tests/vegalite/v6/schema/test_channels.py:56:55: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 1061 diagnostics
- Found 1060 diagnostics
bokeh (https://github.com/bokeh/bokeh)
- src/bokeh/models/init.py:108:11: error[invalid-assignment] Object of type
tuple[Literal["Model"], @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression)]is not assignable totuple[@Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression)] - src/bokeh/models/annotations/init.py:44:11: error[invalid-assignment] Object of type
tuple[@Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression)]is not assignable totuple[@Todo(StarredExpression), @Todo(StarredExpression), @Todo(StarredExpression)]
- src/bokeh/server/tornado.py:448:41: error[invalid-argument-type] Argument to bound method
appendis incorrect: Expectedtuple[str, type[RequestHandler]] | tuple[str, type[RequestHandler], dict[str, Any]], foundtuple[str | Unknown, *tuple[type[RequestHandler] | dict[str, Any] | Unknown, ...], dict[Unknown | str, Unknown | dict[str, Unknown] | str | None | bool]] - src/bokeh/server/tornado.py:451:37: error[invalid-argument-type] Argument to bound method
appendis incorrect: Expectedtuple[str, type[RequestHandler]] | tuple[str, type[RequestHandler], dict[str, Any]], foundtuple[str | Unknown, *tuple[type[RequestHandler] | dict[str, Any] | Unknown, ...]]
ibis (https://github.com/ibis-project/ibis)
- ibis/expr/types/arrays.py:226:32: error[invalid-argument-type] Argument is incorrect: Expected
tuple[Value[Array[Unknown], Any], ...], foundtuple[Self@concat, ArrayValue, @Todo(StarredExpression)]
- ibis/expr/types/arrays.py:226:32: error[invalid-argument-type] Argument is incorrect: Expected
tuple[Value[Array[Unknown], Any], ...], foundtuple[Self@concat, ArrayValue, *tuple[ArrayValue, ...]]
- ibis/expr/types/arrays.py:1014:29: error[invalid-argument-type] Argument is incorrect: Expected
tuple[Value[Array[Unknown], Any], ...], foundtuple[Self@zip, ArrayValue, @Todo(StarredExpression)]
- ibis/expr/types/arrays.py:1014:29: error[invalid-argument-type] Argument is incorrect: Expected
tuple[Value[Array[Unknown], Any], ...], foundtuple[Self@zip, ArrayValue, *tuple[ArrayValue, ...]]
- ibis/expr/types/generic.py:384:29: error[invalid-argument-type] Argument is incorrect: Expected
tuple[Value[Unknown, Any], ...], foundtuple[Self@coalesce, @Todo(StarredExpression)]
- ibis/expr/types/generic.py:384:29: error[invalid-argument-type] Argument is incorrect: Expected
tuple[ibis.expr.operations.core.Value[Unknown, Any], ...], foundtuple[Self@coalesce, *tuple[ibis.expr.types.generic.Value, ...]]
- ibis/expr/types/strings.py:1580:33: error[invalid-argument-type] Argument is incorrect: Expected
tuple[Value[String, Any], ...], foundtuple[Self@concat, str | StringValue, @Todo(StarredExpression)]
- ibis/expr/types/strings.py:1580:33: error[invalid-argument-type] Argument is incorrect: Expected
tuple[Value[String, Any], ...], foundtuple[Self@concat, str | StringValue, *tuple[str | StringValue, ...]]
sympy (https://github.com/sympy/sympy)
- sympy/parsing/latex/init.py:117:12: error[index-out-of-bounds] Index 3 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:118:30: error[index-out-of-bounds] Index 2 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:120:59: error[index-out-of-bounds] Index 3 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:125:12: error[index-out-of-bounds] Index 7 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:126:30: error[index-out-of-bounds] Index 2 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:128:53: error[index-out-of-bounds] Index 3 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:133:43: error[index-out-of-bounds] Index 3 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:135:30: error[index-out-of-bounds] Index 5 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:136:12: error[index-out-of-bounds] Index 7 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:139:37: error[index-out-of-bounds] Index 2 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:140:30: error[index-out-of-bounds] Index 6 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:140:47: error[index-out-of-bounds] Index 4 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - sympy/parsing/latex/init.py:141:65: error[index-out-of-bounds] Index 5 is out of bounds for tuple
tuple[@Todo(StarredExpression), @Todo(StarredExpression)]with length 2 - Found 15597 diagnostics
- Found 15584 diagnostics
static-frame (https://github.com/static-frame/static-frame)
- static_frame/core/index.py:580:16: error[invalid-return-type] Return type does not match returned value: expected
InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index], foundInterGetItemLocReduces[Bottom[Series[Any, Any]] | Any, TVDtype@Index]
- static_frame/core/index.py:580:16: error[invalid-return-type] Return type does not match returned value: expected
InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index], foundInterGetItemLocReduces[Any | Bottom[Series[Any, Any]], TVDtype@Index]
pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
- tests/frame/test_groupby.py:229:15: error[type-assertion-failure] Type
Series[Any]does not match asserted typeSeries[str | bytes | int | ... omitted 12 union elements] - tests/frame/test_groupby.py:625:15: error[type-assertion-failure] Type
Series[Any]does not match asserted typeSeries[str | bytes | int | ... omitted 12 union elements] - Found 5169 diagnostics
- Found 5167 diagnostics
rotki (https://github.com/rotki/rotki)
- rotkehlchen/chain/arbitrum_one/modules/thegraph/balances.py:153:43: error[invalid-argument-type] Argument to bound method
appendis incorrect: Expectedtuple[ChecksumAddress, ChecksumAddress, ChecksumAddress, ChecksumAddress, int], foundtuple[@Todo(StarredExpression), Any]
- rotkehlchen/chain/decoding/tools.py:96:44: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
- rotkehlchen/chain/decoding/tools.py:97:13: error[invalid-argument-type] Argument to function
decode_transfer_directionis incorrect: ExpectedBTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress, foundA@BaseDecoderTools
- rotkehlchen/chain/decoding/tools.py:99:13: error[invalid-argument-type] Argument to function
decode_transfer_directionis incorrect: ExpectedSequence[A@BaseDecoderTools], foundUnknown | tuple[BTCAddress, ...] | tuple[ChecksumAddress, ...] | tuple[SubstrateAddress, ...] | tuple[SolanaAddress, ...]
- rotkehlchen/chain/decoding/tools.py:98:13: error[invalid-argument-type] Argument to function
decode_transfer_directionis incorrect: ExpectedBTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress | None, foundA@BaseDecoderTools | None
- rotkehlchen/chain/decoding/tools.py💯62: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
core (https://github.com/home-assistant/core)
- homeassistant/components/esphome/light.py:337:16: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int], foundtuple[@Todo(StarredExpression), Unknown] - homeassistant/components/esphome/light.py:358:20: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int, int], foundtuple[@Todo(StarredExpression), Unknown, Unknown] - homeassistant/components/esphome/light.py:363:16: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int, int], foundtuple[@Todo(StarredExpression), Unknown, Unknown] - homeassistant/components/flux_led/util.py:98:16: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int], foundtuple[@Todo(StarredExpression), int] - homeassistant/components/flux_led/util.py:99:12: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int], foundtuple[@Todo(StarredExpression), int] - homeassistant/components/flux_led/util.py:114:16: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int, int], foundtuple[@Todo(StarredExpression), int, int] - homeassistant/components/flux_led/util.py:115:12: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int, int], foundtuple[@Todo(StarredExpression), int, int] - homeassistant/components/knx/light.py:375:24: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int] | None, foundtuple[@Todo(StarredExpression), Unknown & ~None] - homeassistant/components/rfxtrx/init.py:212:50: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - homeassistant/components/rfxtrx/entity.py:24:39: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - homeassistant/components/shelly/light.py:229:16: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int], foundtuple[@Todo(StarredExpression), int] - homeassistant/components/shelly/light.py:404:16: error[invalid-return-type] Return type does not match returned value: expected
tuple[int, int, int, int], foundtuple[@Todo(StarredExpression), Unknown]
- homeassistant/components/zwave_js/discovery.py:1382:17: error[invalid-argument-type] Argument is incorrect: Expected
type[ZWaveBaseEntity], foundtype
- Found 14513 diagnostics
- Found 14502 diagnostics
scipy (https://github.com/scipy/scipy)
- scipy/interpolate/tests/test_bsplines.py:1807:9: error[invalid-assignment] Not enough values to unpack: Expected 4
- scipy/interpolate/tests/test_bsplines.py:1819:9: error[invalid-assignment] Not enough values to unpack: Expected 4
- scipy/interpolate/tests/test_bsplines.py:1832:9: error[invalid-assignment] Not enough values to unpack: Expected 4
- scipy/interpolate/tests/test_bsplines.py:1842:9: error[invalid-assignment] Not enough values to unpack: Expected 4
- scipy/interpolate/tests/test_bsplines.py:1856:9: error[invalid-assignment] Not enough values to unpack: Expected 4
- scipy/interpolate/tests/test_bsplines.py:1867:9: error[invalid-assignment] Not enough values to unpack: Expected 3
- scipy/interpolate/tests/test_bsplines.py:1879:9: error[invalid-assignment] Not enough values to unpack: Expected 3
- Found 8082 diagnostics
- Found 8075 diagnostics
No memory usage changes detected ✅