Repository navigation
Fix depth-based truncation for non-generic types - #5822
Open
yangdanny97 wants to merge 1 commit into
Open
yangdanny97 wants to merge 1 commit into
yangdanny97 wants to merge 1 commit into
Conversation
Note: this comment updates automatically after changes to the PR. Updates may take up to half an hour. |
Contributor
|
This pull request has been imported. If you are a Meta employee, you can view this in D135025666. (Because this pull request was imported automatically, there will not be any future comments.) |
|
Diff from mypy_primer, showing the effect of this PR on open source code: ============================================================
SUMMARY
============================================================
Total: +85 new errors, -619 fixed errors
By preset: +39/-32 (default), +39/-32 (strict)
Projects with changes (17):
tornado: +4 -72
setuptools: +2 -10
prefect: +1 -3
spark: +0 -16
freqtrade: +1 -1
altair: +1 -1
cvxpy: +1 -16
scikit-learn: +37 -301
materialize: +0 -2
apprise: +9 -42
openlibrary: +14 -62
pandera: +0 -7
stone: +0 -3
ibis: +2 -3
spack: +1 -13
pytensor: +5 -17
xarray: +7 -50
============================================================
FULL DIFF DETAILS
------------------------------------------------------------
tornado (https://github.com/tornadoweb/tornado)
- ERROR tornado/test/property_test.py:161:29-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/property_test.py:169:57-68: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/property_test.py:170:52-73: The type of this argument is unknown [unknown-argument-type]
- ERROR tornado/test/property_test.py:170:61-72: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/property_test.py:175:12-37: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/property_test.py:186:28-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/property_test.py:188:29-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/property_test.py:194:28-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/property_test.py:197:28-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:438:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:438:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:438:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:445:36-49: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:445:43-49: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:453:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:453:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:453:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:461:36-49: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:461:43-49: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:473:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:473:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:473:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:482:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:482:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:482:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:490:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:490:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:490:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:501:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:501:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:501:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:518:33-37: The type of attribute `done` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:518:37-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:520:36-49: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:520:43-49: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:530:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:530:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:530:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:540:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:540:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:540:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:551:13-28: Result of call expression is of type `tuple[Unknown, Any, Unknown]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tornado/test/tcpclient_test.py:551:13-28: Result of call expression is of type `tuple[AddressFamily, Any, IOStream]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tornado/test/tcpclient_test.py:551:20-26: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:551:26-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:558:13-28: Result of call expression is of type `tuple[Unknown, Any, Unknown]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tornado/test/tcpclient_test.py:558:13-28: Result of call expression is of type `tuple[AddressFamily, Any, IOStream]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tornado/test/tcpclient_test.py:558:20-26: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:558:26-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:572:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:572:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:572:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:584:38-47: The type of attribute `exception` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:584:47-49: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:592:16-22: The type of attribute `cancel` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:592:22-24: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:613:41-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:613:48-54: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:626:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:626:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:626:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:640:13-28: Result of call expression is of type `tuple[Unknown, Any, Unknown]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tornado/test/tcpclient_test.py:640:13-28: Result of call expression is of type `tuple[AddressFamily, Any, IOStream]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tornado/test/tcpclient_test.py:640:20-26: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:640:26-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:654:36-49: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:654:43-49: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:670:13-28: Result of call expression is of type `tuple[Unknown, Any, Unknown]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tornado/test/tcpclient_test.py:670:13-28: Result of call expression is of type `tuple[AddressFamily, Any, IOStream]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tornado/test/tcpclient_test.py:670:20-26: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:670:26-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:685:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:685:33-39: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:685:39-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:700:41-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tornado/test/tcpclient_test.py:700:48-54: The type of attribute `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
setuptools (https://github.com/pypa/setuptools)
- ERROR setuptools/command/build_py.py:90:31-53: This expression's type is partially unknown; it contains an implicit `Any`. Please provide an explicit type annotation. [partially-unknown-type]
- ERROR setuptools/command/build_py.py:90:36-51: The type of attribute `_get_data_files` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/command/build_py.py:91:25-35: The type of attribute `data_files` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/command/build_py.py:164:60-70: The type of attribute `data_files` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/command/build_py.py:165:17-25: The type of `filename` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/command/build_py.py:166:50-58: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/command/build_py.py:167:49-57: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/dist.py:756:34-52: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_sdist.py:624:29-59: Argument `dict[Unknown, dict[Unknown, dict[Unknown, Unknown] | list[Unknown] | str] | list[dict[Unknown, Unknown] | list[Unknown] | str] | str] | list[dict[Unknown, dict[Unknown, Unknown] | list[Unknown] | str] | list[dict[Unknown, Unknown] | list[Unknown] | str] | str] | str` is not assignable to parameter `attrs` with type `MutableMapping[str, Any] | None` in function `setuptools.dist.Distribution.__init__` [bad-argument-type]
+ ERROR setuptools/tests/test_sdist.py:624:29-59: Argument `dict[Unknown, dict[Unknown, dict[Unknown, str | Unknown] | list[str | Unknown] | str] | list[dict[Unknown, str | Unknown] | list[str | Unknown] | str] | str] | list[dict[Unknown, dict[Unknown, str | Unknown] | list[str | Unknown] | str] | list[dict[Unknown, str | Unknown] | list[str | Unknown] | str] | str] | str` is not assignable to parameter `attrs` with type `MutableMapping[str, Any] | None` in function `setuptools.dist.Distribution.__init__` [bad-argument-type]
- ERROR setuptools/tests/test_sdist.py:664:29-59: Argument `dict[Unknown, dict[Unknown, dict[Unknown, Unknown] | list[Unknown] | str] | list[dict[Unknown, Unknown] | list[Unknown] | str] | str] | list[dict[Unknown, dict[Unknown, Unknown] | list[Unknown] | str] | list[dict[Unknown, Unknown] | list[Unknown] | str] | str] | str` is not assignable to parameter `attrs` with type `MutableMapping[str, Any] | None` in function `setuptools.dist.Distribution.__init__` [bad-argument-type]
+ ERROR setuptools/tests/test_sdist.py:664:29-59: Argument `dict[Unknown, dict[Unknown, dict[Unknown, str | Unknown] | list[str | Unknown] | str] | list[dict[Unknown, str | Unknown] | list[str | Unknown] | str] | str] | list[dict[Unknown, dict[Unknown, str | Unknown] | list[str | Unknown] | str] | list[dict[Unknown, str | Unknown] | list[str | Unknown] | str] | str] | str` is not assignable to parameter `attrs` with type `MutableMapping[str, Any] | None` in function `setuptools.dist.Distribution.__init__` [bad-argument-type]
prefect (https://github.com/PrefectHQ/prefect)
- ERROR src/prefect/_vendor/croniter/croniter.py:417:39-44: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/prefect/_vendor/croniter/croniter.py:420:39-44: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/prefect/_vendor/croniter/croniter.py:1238:13-1240:14: Result of call expression is of type `tuple[list[list[Unknown]], dict[Unknown, set[Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR src/prefect/_vendor/croniter/croniter.py:1238:13-1240:14: Result of call expression is of type `tuple[list[list[str] | list[Unknown]], dict[Unknown, set[Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
spark (https://github.com/apache/spark)
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:87:32-93: The type of `expected` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:90:30-97: The type of this argument is unknown [unknown-argument-type]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:90:39-50: The type of attribute `sort_values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:90:56-72: The type of this argument is unknown [unknown-argument-type]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:90:65-72: The type of attribute `columns` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:90:75-86: The type of attribute `reset_index` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:95:32-97:22: The type of `expected` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:100:30-61: The type of this argument is unknown [unknown-argument-type]
- ERROR python/pyspark/pandas/tests/diff_frames_ops/test_concat_inner.py:100:39-50: The type of attribute `reset_index` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR python/pyspark/sql/tests/arrow/test_arrow_python_udf.py:884:46-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR python/pyspark/sql/tests/arrow/test_arrow_python_udf.py:884:65-81: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR python/pyspark/tests/upstream/numpy/test_numpy_ufunc_type_coercion.py:218:19-38: The type of `samples` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR python/pyspark/tests/upstream/numpy/test_numpy_ufunc_type_coercion.py:218:24-36: The type of attribute `_get_samples` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR python/pyspark/tests/upstream/numpy/test_numpy_ufunc_type_coercion.py:245:28-35: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR python/pyspark/tests/upstream/numpy/test_numpy_ufunc_type_coercion.py:249:33-50: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR python/pyspark/tests/upstream/numpy/test_numpy_ufunc_type_coercion.py:249:52-68: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
freqtrade (https://github.com/freqtrade/freqtrade)
- ERROR freqtrade/rpc/webhook.py:109:28-35: Argument `dict[Unknown, dict[Unknown, dict[Unknown, Unknown] | list[Unknown] | str] | list[dict[Unknown, Unknown] | list[Unknown] | str] | str] | list[dict[Unknown, dict[Unknown, Unknown] | list[Unknown] | str] | list[dict[Unknown, Unknown] | list[Unknown] | str] | str] | str` is not assignable to parameter `payload` with type `dict[Unknown, Unknown]` in function `Webhook._send_msg` [bad-argument-type]
+ ERROR freqtrade/rpc/webhook.py:109:28-35: Argument `dict[Unknown, dict[Unknown, dict[Unknown, str | Unknown] | list[str | Unknown] | str] | list[dict[Unknown, str | Unknown] | list[str | Unknown] | str] | str] | list[dict[Unknown, dict[Unknown, str | Unknown] | list[str | Unknown] | str] | list[dict[Unknown, str | Unknown] | list[str | Unknown] | str] | str] | str` is not assignable to parameter `payload` with type `dict[Unknown, Unknown]` in function `Webhook._send_msg` [bad-argument-type]
altair (https://github.com/vega/altair)
- ERROR tests/utils/test_core.py:305:5-33: Result of call expression is of type `dict[str, SchemaBase | list[SchemaBase | list[Unknown] | Any] | Any]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/utils/test_core.py:305:5-33: Result of call expression is of type `dict[str, SchemaBase | list[SchemaBase | list[SchemaBase | Unknown] | Any] | Any]` and is not used; assign to `_` if this is intentional [unused-call-result]
cvxpy (https://github.com/cvxpy/cvxpy)
- ERROR cvxpy/reductions/cone2cone/approx.py:115:21-39: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR cvxpy/reductions/cone2cone/approx.py:115:21-39: The type of this argument is unknown [unknown-argument-type]
- ERROR cvxpy/reductions/cone2cone/approx.py:133:22-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/cone2cone/approx.py:138:51-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/cone2cone/approx.py:140:37-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/cone2cone/approx.py:167:29-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/cone2cone/approx.py:175:22-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/cone2cone/approx.py:179:79-83: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/dcp2cone/canonicalizers/quad_form_canon.py:30:8-15: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/dcp2cone/canonicalizers/quad_form_canon.py:30:19-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/dcp2cone/canonicalizers/quad_form_canon.py:33:24-31: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/solvers/conic_solvers/xpress_conif.py:227:18-42: The type of `mstart` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/solvers/conic_solvers/xpress_conif.py:337:22-41: The type of `mstart` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/solvers/conic_solvers/xpress_conif.py:345:47-53: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/solvers/nlp_solvers/diff_engine/registry.py:221:12-49: The type of `idxs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/solvers/qp_solvers/xpress_qpif.py:163:18-41: The type of `mstart` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR cvxpy/reductions/solvers/qp_solvers/xpress_qpif.py:264:26-50: The type of `mstartIneq` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
scikit-learn (https://github.com/scikit-learn/scikit-learn)
- ERROR sklearn/conftest.py:86:40-60: `() -> ndarray[tuple[int, int], dtype[unsignedinteger[Unknown]]]` is not assignable to dict key `raccoon_face_fxt` with type `(*args: Unknown, **kwargs: Unknown) -> Unknown` [bad-assignment]
+ ERROR sklearn/conftest.py:86:40-60: `() -> ndarray[tuple[int, int], dtype[unsignedinteger[_8Bit]]]` is not assignable to dict key `raccoon_face_fxt` with type `(*args: Unknown, **kwargs: Unknown) -> Unknown` [bad-assignment]
- ERROR sklearn/conftest.py:128:35-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:574:5-39: Cannot unpack tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray] | tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray, Unknown] (of size 3) into 4 values [bad-unpacking]
+ ERROR sklearn/datasets/_base.py:574:5-39: Cannot unpack tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray] | tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray, Unknown] (of size 3) into 4 values [bad-unpacking]
- ERROR sklearn/datasets/_base.py:600:26-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:600:32-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:604:16-28: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:607:9-18: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:608:9-22: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:696:5-39: Cannot unpack tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray] | tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray, Unknown] (of size 3) into 4 values [bad-unpacking]
+ ERROR sklearn/datasets/_base.py:696:5-39: Cannot unpack tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray] | tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray, Unknown] (of size 3) into 4 values [bad-unpacking]
- ERROR sklearn/datasets/_base.py:713:26-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:713:32-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:717:16-28: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:720:9-18: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:721:9-22: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:812:5-39: Cannot unpack tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray] | tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray, Unknown] (of size 3) into 4 values [bad-unpacking]
+ ERROR sklearn/datasets/_base.py:812:5-39: Cannot unpack tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray] | tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray, Unknown] (of size 3) into 4 values [bad-unpacking]
- ERROR sklearn/datasets/_base.py:857:35-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:857:41-47: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:861:16-28: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:864:9-18: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_base.py:865:9-22: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_rcv1.py:272:23-66: The type of `permutation` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_rcv1.py:273:15-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_samples_generator.py:283:81-285:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/_svmlight_format_io.py:412:25-30: The type of attribute `shape` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR sklearn/datasets/tests/test_base.py:177:5-52: Cannot unpack tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray] | tuple[ndarray[tuple[int, int], dtype[float64]], ndarray[tuple[int]], ndarray, Unknown] (of size 4) into 3 values [bad-unpacking]
- ERROR sklearn/datasets/tests/test_base.py:177:5-52: Cannot unpack tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray] | tuple[ndarray[tuple[Unknown, Unknown], dtype[Unknown]], ndarray[tuple[Unknown]], ndarray, Unknown] (of size 4) into 3 values [bad-unpacking]
- ERROR sklearn/datasets/tests/test_base.py:178:12-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:178:24-29: The type of attribute `shape` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:179:12-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:179:24-29: The type of attribute `shape` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:180:12-31: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:180:26-31: The type of attribute `shape` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:195:35-52: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:195:54-74: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:196:35-52: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/datasets/tests/test_base.py:196:54-74: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/decomposition/_pca.py:426:9-21: Result of call expression is of type `tuple[Unknown, ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown, Unknown, Unknown, bool, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown, bool, Unknown] | None` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR sklearn/decomposition/_pca.py:426:9-21: Result of call expression is of type `tuple[Unknown, ndarray[tuple[Any, ...], dtype[float64]] | Unknown, Unknown, Unknown, bool, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown, bool, Unknown] | None` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR sklearn/decomposition/_pca.py:461:22-45: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/dummy.py:278:21-42: The type of `proba` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/dummy.py:280:25-32: The type of `proba` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/dummy.py:313:37-45: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/dummy.py:412:17-38: The type of `proba` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/dummy.py:414:27-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/dummy.py:416:28-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/feature_extraction/text.py:1669:27-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/feature_selection/tests/test_feature_select.py:51:27-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/feature_selection/tests/test_feature_select.py:65:31-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/feature_selection/tests/test_feature_select.py:65:34-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/gaussian_process/tests/test_kernels.py:403:9-18: Result of call expression is of type `ndarray[tuple[Any, ...], dtype[float64]] | tuple[ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown, ndarray] | Unknown` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR sklearn/gaussian_process/tests/test_kernels.py:403:9-18: Result of call expression is of type `ndarray[tuple[Any, ...], dtype[float64]] | tuple[ndarray[tuple[Any, ...], dtype[float64]] | Unknown, ndarray] | Unknown` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR sklearn/inspection/_partial_dependence.py:761:35-42: The type of attribute `reshape` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/inspection/_partial_dependence.py:761:42-763:10: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/inspection/_partial_dependence.py:771:56-773:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/inspection/tests/test_partial_dependence.py:398:11-17: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_glm/_newton_solver.py:297:42-310:10: No matching overload found for function `scipy.optimize._minimize.minimize` called with arguments: (((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> tuple[float, ndarray[tuple[Unknown], Unknown] | ndarray[tuple[Any, ...], Unknown] | Unknown]) | Unknown, Unknown, method=Literal['L-BFGS-B'], jac=Literal[True], options=dict[str | Unknown, float | float64 | int | Unknown], args=tuple[Unknown, Unknown, Unknown, Literal[0], float | Unknown, int | Unknown]) [no-matching-overload]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:297:42-310:10: No matching overload found for function `scipy.optimize._minimize.minimize` called with arguments: (((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> tuple[float, ndarray[tuple[int], Unknown] | ndarray[tuple[Any, ...], Unknown] | Unknown]) | Unknown, Unknown, method=Literal['L-BFGS-B'], jac=Literal[True], options=dict[str | Unknown, float | float64 | int | Unknown], args=tuple[Unknown, Unknown, Unknown, Literal[0], float | Unknown, int | Unknown]) [no-matching-overload]
- ERROR sklearn/linear_model/_glm/_newton_solver.py:820:9-17: The type of `gradient` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR sklearn/linear_model/_glm/_newton_solver.py:826:30-39: The type of this argument is unknown [unknown-argument-type]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:826:30-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_glm/_newton_solver.py:1026:9-17: The type of `gradient` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:1086:30-43: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:1087:30-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:1108:32-47: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:1108:41-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:1109:33-48: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR sklearn/linear_model/_glm/_newton_solver.py:1109:42-47: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_glm/glm.py:403:46-419:14: No matching overload found for function `scipy.optimize._minimize.minimize` called with arguments: ((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> tuple[float, ndarray[tuple[Unknown], Unknown] | ndarray[tuple[Any, ...], Unknown] | Unknown], ndarray | ndarray[Any, dtype[numpy.bool | complex128 | complexfloating[_32Bit, _32Bit] | float64 | floating[_32Bit] | integer]] | Unknown, method=Literal['L-BFGS-B'], jac=Literal[True], options=dict[str | Unknown, float | float64 | int | Unknown], args=tuple[Unknown, Unknown, Unknown | None, Literal[0], float | Unknown, Unknown]) [no-matching-overload]
+ ERROR sklearn/linear_model/_glm/glm.py:403:46-419:14: No matching overload found for function `scipy.optimize._minimize.minimize` called with arguments: ((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> tuple[float, ndarray[tuple[int], Unknown] | ndarray[tuple[Any, ...], Unknown] | Unknown], ndarray | ndarray[Any, dtype[numpy.bool | complex128 | complexfloating[_32Bit, _32Bit] | float64 | floating[_32Bit] | integer]] | Unknown, method=Literal['L-BFGS-B'], jac=Literal[True], options=dict[str | Unknown, float | float64 | int | Unknown], args=tuple[Unknown, Unknown, Unknown | None, Literal[0], float | Unknown, Unknown]) [no-matching-overload]
- ERROR sklearn/linear_model/_glm/tests/test_newton_solver.py:145:25-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_glm/tests/test_newton_solver.py:169:21-24: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_glm/tests/test_newton_solver.py:214:25-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_glm/tests/test_newton_solver.py:242:29-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_glm/tests/test_newton_solver.py:250:30-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_logistic.py:663:40-677:14: No matching overload found for function `scipy.optimize._minimize.minimize` called with arguments: (((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> float) | ((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> tuple[float, ndarray[tuple[Unknown], Unknown] | ndarray[tuple[Any, ...], Unknown] | Unknown]), ndarray[tuple[int], dtype[Unknown]] | ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[Unknown, dtype[Unknown]] | Unknown, method=Literal['L-BFGS-B'], jac=Literal[True], args=tuple[Unknown, Unknown, Unknown | None, Literal[0], float | Unknown, int | Unknown], options=dict[str | Unknown, float | float64 | int | Unknown], callback=_LbfgsCallbackBridge | None) [no-matching-overload]
+ ERROR sklearn/linear_model/_logistic.py:663:40-677:14: No matching overload found for function `scipy.optimize._minimize.minimize` called with arguments: (((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> float) | ((coef: Unknown, X: Unknown, y: Unknown, sample_weight: Unknown | None = None, l1_reg_strength: float | Unknown = 0.0, l2_reg_strength: float | Unknown = 0.0, n_threads: int | Unknown = 1, raw_prediction: Unknown | None = None) -> tuple[float, ndarray[tuple[int], Unknown] | ndarray[tuple[Any, ...], Unknown] | Unknown]), ndarray[tuple[int], dtype[Unknown]] | ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[Unknown, dtype[Unknown]] | Unknown, method=Literal['L-BFGS-B'], jac=Literal[True], args=tuple[Unknown, Unknown, Unknown | None, Literal[0], float | Unknown, int | Unknown], options=dict[str | Unknown, float | float64 | int | Unknown], callback=_LbfgsCallbackBridge | None) [no-matching-overload]
- ERROR sklearn/linear_model/_omp.py:456:13-34: Cannot unpack tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray, int] | tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray, ndarray[tuple[Any, ...], Unknown], int] (of size 3) into 4 values [bad-unpacking]
+ ERROR sklearn/linear_model/_omp.py:456:13-34: Cannot unpack tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray, int] | tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray, ndarray[tuple[Any, ...], Unknown], int] (of size 3) into 4 values [bad-unpacking]
+ ERROR sklearn/linear_model/_omp.py:461:13-27: Cannot unpack tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray, int] | tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray, ndarray[tuple[Any, ...], Unknown], int] (of size 4) into 3 values [bad-unpacking]
- ERROR sklearn/linear_model/_omp.py:461:13-27: Cannot unpack tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray, int] | tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray, ndarray[tuple[Any, ...], Unknown], int] (of size 4) into 3 values [bad-unpacking]
- ERROR sklearn/linear_model/_omp.py:462:28-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/_omp.py:641:13-34: Cannot unpack tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], int] | tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], ndarray[tuple[Any, ...], Unknown], int] (of size 3) into 4 values [bad-unpacking]
+ ERROR sklearn/linear_model/_omp.py:641:13-34: Cannot unpack tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], int] | tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], ndarray[tuple[Any, ...], Unknown], int] (of size 3) into 4 values [bad-unpacking]
- ERROR sklearn/linear_model/_omp.py:646:13-27: Cannot unpack tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], int] | tuple[ndarray[tuple[Unknown], dtype[Unknown]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], ndarray[tuple[Any, ...], Unknown], int] (of size 4) into 3 values [bad-unpacking]
+ ERROR sklearn/linear_model/_omp.py:646:13-27: Cannot unpack tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], int] | tuple[ndarray[tuple[int], dtype[float64]] | Any, ndarray[tuple[Any, ...], dtype[Unknown]], ndarray[tuple[Any, ...], Unknown], int] (of size 4) into 3 values [bad-unpacking]
- ERROR sklearn/linear_model/_omp.py:647:28-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:375:34-37: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:375:36-37: The type of attribute `T` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:376:55-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:381:24-27: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:381:26-27: The type of attribute `T` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:407:69-70: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:411:13-14: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:416:47-48: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:431:22-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:452:27-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:459:25-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:529:13-14: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:545:13-14: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:556:22-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:563:13-14: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:566:22-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:573:14-15: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:575:14-15: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR sklearn/linear_model/tests/test_coordinate_descent.py:583:30-31: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
... (truncated 229 lines) ...
materialize (https://github.com/MaterializeInc/materialize)
- ERROR test/copy/mzcompose.py:256:13-263:6: The type of `users` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR test/copy/mzcompose.py:289:78-85: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
apprise (https://github.com/caronc/apprise)
- ERROR apprise/plugins/nostr/relay.py:256:21-57: The type of `found` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR apprise/plugins/nostr/relay.py:268:26-36: Argument `int | str` is not assignable to parameter `element` with type `str` in function `set.add` [bad-argument-type]
+ ERROR apprise/plugins/nostr/relay.py:269:34-44: Argument `int | str` is not assignable to parameter `object` with type `str` in function `list.append` [bad-argument-type]
- ERROR apprise/plugins/nostr/relay.py:267:16-26: The type of this argument is unknown [unknown-argument-type]
- ERROR apprise/plugins/nostr/relay.py:268:26-36: The type of this argument is unknown [unknown-argument-type]
- ERROR apprise/plugins/nostr/relay.py:269:34-44: The type of this argument is unknown [unknown-argument-type]
- ERROR apprise/plugins/workflows.py:585:16-23: Implicit conversion of `Literal[False] | dict[str, list[dict[str, str | dict[str, dict[Unknown, Unknown] | list[Unknown] | str] | None]] | str] | dict[Unknown, Unknown]` to `bool` is not allowed [implicit-bool]
+ ERROR apprise/plugins/workflows.py:585:16-23: Implicit conversion of `Literal[False] | dict[str, list[dict[str, str | dict[str, dict[str, str | Unknown] | list[Unknown] | str] | None]] | str] | dict[Unknown, Unknown]` to `bool` is not allowed [implicit-bool]
- ERROR apprise/utils/http.py:427:30-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR apprise/utils/http.py:431:61-72: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:500:14-47: The type of `counts` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:500:22-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:500:31-35: The type of `chat` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:500:37-38: The type of `_` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:503:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:506:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:519:14-47: The type of `counts` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:519:22-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:519:31-35: The type of `chat` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:519:37-38: The type of `_` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:520:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:521:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:533:14-47: The type of `counts` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:533:22-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:533:31-35: The type of `chat` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:533:37-38: The type of `_` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:536:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:539:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:552:12-58: The type of `good` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:552:22-26: The type of `chat` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:552:28-32: The type of `size` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:555:16-20: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:556:16-20: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:594:14-47: The type of `counts` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:594:22-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:594:31-35: The type of `chat` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:594:37-38: The type of `_` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:595:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:596:12-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_utils_http.py:219:9-48: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[Unknown, Unknown]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[Unknown, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/test_utils_http.py:219:9-48: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[int, bytes] | tuple[str, int, int, int]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_utils_http.py:231:9-50: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[Unknown, Unknown]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[Unknown, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/test_utils_http.py:231:9-50: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[int, bytes] | tuple[str, int, int, int]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_utils_http.py:246:9-49: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[Unknown, Unknown]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[Unknown, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/test_utils_http.py:246:9-49: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[int, bytes] | tuple[str, int, int, int]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_utils_http.py:260:9-49: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[Unknown, Unknown]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[Unknown, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/test_utils_http.py:260:9-49: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[int, bytes] | tuple[str, int, int, int]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_utils_http.py:357:9-43: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[Unknown, Unknown]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[Unknown, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/test_utils_http.py:357:9-43: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[int, bytes] | tuple[str, int, int, int]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_utils_http.py:373:9-70: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[Unknown, Unknown]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[Unknown, Unknown] | tuple[Unknown, Unknown, Unknown, Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/test_utils_http.py:373:9-70: Result of call expression is of type `list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[int, bytes] | tuple[str, int, int, int]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
openlibrary (https://github.com/internetarchive/openlibrary)
- ERROR openlibrary/catalog/add_book/__init__.py:789:8-15: Implicit conversion of `list[dict[Unknown, Unknown]]` to `bool` is not allowed [implicit-bool]
+ ERROR openlibrary/catalog/add_book/__init__.py:789:8-15: Implicit conversion of `list[dict[str, Unknown]]` to `bool` is not allowed [implicit-bool]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:2307:5-85: Result of call expression is of type `tuple[list[dict[Unknown, Unknown]], list[dict[Unknown, Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:2307:5-85: Result of call expression is of type `tuple[list[dict[str, Unknown]], list[dict[str, str | Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR openlibrary/coverstore/archive.py:121:58-64: Implicit conversion of `list[dict[Unknown, Unknown]] | Unknown` to `bool` is not allowed [implicit-bool]
+ ERROR openlibrary/coverstore/archive.py:121:58-64: Implicit conversion of `list[dict[str, int | str]] | Unknown` to `bool` is not allowed [implicit-bool]
- ERROR openlibrary/plugins/books/readlinks.py:272:16-26: Implicit conversion of `dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[Unknown, Unknown]]] | None` to `bool` is not allowed [implicit-bool]
+ ERROR openlibrary/plugins/books/readlinks.py:272:16-26: Implicit conversion of `dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[str, bool | str | Unknown]]] | None` to `bool` is not allowed [implicit-bool]
- ERROR openlibrary/plugins/books/readlinks.py:276:31-36: Cannot set item in `dict[str, dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[Unknown, Unknown]]]]` [unsupported-operation]
+ ERROR openlibrary/plugins/books/readlinks.py:276:31-36: Cannot set item in `dict[str, dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[str, bool | str | Unknown]]]]` [unsupported-operation]
- ERROR openlibrary/plugins/books/readlinks.py:277:29-32: Cannot set item in `dict[str, dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[Unknown, Unknown]]]]` [unsupported-operation]
+ ERROR openlibrary/plugins/books/readlinks.py:277:29-32: Cannot set item in `dict[str, dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[str, bool | str | Unknown]]]]` [unsupported-operation]
- ERROR openlibrary/plugins/books/readlinks.py:278:31-36: Cannot set item in `dict[str, dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[Unknown, Unknown]]]]` [unsupported-operation]
+ ERROR openlibrary/plugins/books/readlinks.py:278:31-36: Cannot set item in `dict[str, dict[str, dict[Unknown, dict[str, list[Unknown] | Unknown | None]] | list[dict[str, bool | str | Unknown]]]]` [unsupported-operation]
- ERROR openlibrary/plugins/openlibrary/home.py:39:27-46:10: The type of `featured_genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/home.py:42:50-55: Argument `dict[str, list[Unknown] | object]` is not assignable to parameter `genre` with type `Genre` in function `openlibrary.plugins.openlibrary.home_genres.display_name` [bad-argument-type]
+ ERROR openlibrary/plugins/openlibrary/home.py:42:50-55: Argument `dict[str, list[int] | object]` is not assignable to parameter `genre` with type `Genre` in function `openlibrary.plugins.openlibrary.home_genres.display_name` [bad-argument-type]
- ERROR openlibrary/plugins/openlibrary/home.py:43:110-115: Argument `dict[str, list[Unknown] | object]` is not assignable to parameter `genre` with type `Genre` in function `openlibrary.plugins.openlibrary.home_genres.subgenres_for` [bad-argument-type]
+ ERROR openlibrary/plugins/openlibrary/home.py:43:110-115: Argument `dict[str, list[int] | object]` is not assignable to parameter `genre` with type `Genre` in function `openlibrary.plugins.openlibrary.home_genres.subgenres_for` [bad-argument-type]
- ERROR openlibrary/plugins/openlibrary/home.py:358:12-363:8: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/home.py:359:9-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/home.py:363:6-8: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:286:20-46: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:286:25-44: The type of attribute `get_featured_genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:289:18-33: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:290:17-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:291:16-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:291:16-35: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:295:18-58: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:296:16-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:296:16-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:297:16-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:297:16-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:298:16-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:298:16-35: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:301:18-110: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:302:16-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:302:16-35: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:306:18-103: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:307:17-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:307:17-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:307:36-45: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:307:36-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:310:18-51: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:311:17-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:311:17-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:311:36-45: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:311:36-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:321:18-64: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:322:17-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:325:18-33: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:326:17-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:328:62-81: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:342:18-33: The type of `genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_home.py:344:62-81: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/account.py:917:41-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/account.py:917:48-62: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/tests/views/test_loanstats.py:97:20-39: Cannot index into `int` [bad-index]
- ERROR openlibrary/tests/views/test_loanstats.py:97:20-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:97:55-70: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/tests/views/test_loanstats.py:110:20-39: Cannot index into `int` [bad-index]
- ERROR openlibrary/tests/views/test_loanstats.py:110:20-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:110:55-70: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/tests/views/test_loanstats.py:122:16-37: Cannot index into `int` [bad-index]
+ ERROR openlibrary/tests/views/test_loanstats.py:123:16-37: Cannot index into `int` [bad-index]
- ERROR openlibrary/tests/views/test_loanstats.py:121:23-76: The type of `works_by_id` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:121:24-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:121:41-53: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:122:16-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:123:16-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:124:16-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:125:16-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/views/test_loanstats.py:126:16-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/utils/tests/test_site_context_initialization.py:95:14-33: The type of attribute `get_featured_genres` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/utils/tests/test_site_context_initialization.py:143:13-20: Result of call expression is of type `Coroutine[Any, Any, Unknown] | dict[str, dict[str, list[Unknown]]] | list[dict[str | Unknown, str | Unknown]] | list[dict[str, list[Unknown] | object]] | list[dict[Unknown, Unknown]] | list[Unknown] | tuple[str, Unknown, Unknown, Unknown] | Unknown` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR openlibrary/utils/tests/test_site_context_initialization.py:143:13-20: Result of call expression is of type `Coroutine[Any, Any, Unknown] | dict[str, dict[str, list[Unknown]]] | list[dict[str | Unknown, str | Unknown]] | list[dict[str, list[int] | object]] | list[dict[Unknown, Unknown]] | list[Unknown] | tuple[str, Unknown, Unknown, Unknown] | Unknown` and is not used; assign to `_` if this is intentional [unused-call-result]
pandera (https://github.com/pandera-dev/pandera)
- ERROR tests/pandas/test_decorators.py:1790:5-17: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pandas/test_decorators.py:1824:53-62: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pandas/test_decorators.py:1825:49-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pandas/test_decorators.py:1828:40-60: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pandas/test_decorators.py:1828:52-58: The type of attribute `values` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pandas/test_decorators.py:1828:58-60: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pandas/test_decorators.py:1830:49-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
stone (https://github.com/dropbox/stone)
- ERROR stone/backends/js_types.py:85:52-81: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR stone/backends/js_types.py:85:78-80: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR stone/backends/swift_client.py:448:19-22: The type of `doc` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
ibis (https://github.com/ibis-project/ibis)
- ERROR ibis/backends/impala/__init__.py:330:14-36: Implicit conversion of `(list[str] & Truthy) | list[tuple[str, Unknown, tuple[Unknown, ...], DataType]] | list[Unknown]` to `bool` is not allowed [implicit-bool]
+ ERROR ibis/backends/impala/__init__.py:330:14-36: Implicit conversion of `(list[str] & Truthy) | list[tuple[str, Unknown, tuple[DataType, ...], DataType]] | list[Unknown]` to `bool` is not allowed [implicit-bool]
- ERROR ibis/backends/impala/__init__.py:330:24-28: Implicit conversion of `list[tuple[str, Unknown, tuple[Unknown, ...], DataType]] | list[Unknown]` to `bool` is not allowed [implicit-bool]
+ ERROR ibis/backends/impala/__init__.py:330:24-28: Implicit conversion of `list[tuple[str, Unknown, tuple[DataType, ...], DataType]] | list[Unknown]` to `bool` is not allowed [implicit-bool]
- ERROR ibis/backends/snowflake/tests/test_client.py:217:1-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
spack (https://github.com/spack/spack)
- ERROR lib/spack/spack/package_base.py:1406:43-63: The type of attribute `dependencies_by_name` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/package_base.py:1406:66-71: The type of attribute `items` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/package_base.py:1406:71-73: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/repo.py:2244:44-64: The type of attribute `dependencies_by_name` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/repo.py:2244:76-81: The type of attribute `items` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/repo.py:2244:81-83: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/test/packages.py:91:24-54: The type of `dependencies` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/test/packages.py:91:32-52: The type of attribute `dependencies_by_name` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/test/packages.py:92:20-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/test/packages.py:93:16-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/test/packages.py:94:16-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/test/packages.py:95:16-37: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/spack/spack/tokenize.py:109:16-21: Implicit conversion of `list[tuple[Unknown, Unknown]]` to `bool` is not allowed [implicit-bool]
+ ERROR lib/spack/spack/tokenize.py:109:16-21: Implicit conversion of `list[tuple[Unknown, str]]` to `bool` is not allowed [implicit-bool]
pytensor (https://github.com/pymc-devs/pytensor)
- ERROR pytensor/link/c/basic.py:876:50-64: The type of attribute `get_init_tasks` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:878:19-43: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:878:24-38: The type of attribute `get_init_tasks` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:880:19-43: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:880:24-38: The type of attribute `get_init_tasks` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:881:58-72: The type of attribute `get_init_tasks` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:1184:34-48: The type of attribute `get_init_tasks` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:1189:31-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/c/basic.py:1189:43-48: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py:444:20-24: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py:447:13-17: Cannot unpack tuple[ndarray[tuple[Any, ...], dtype[Unknown]], ndarray[tuple[Any, ...], dtype[Unknown]]] | tuple[tuple[ndarray[Unknown, Unknown], ndarray[Unknown, Unknown]], ndarray[tuple[Any, ...], dtype[Unknown]], ndarray[tuple[Any, ...], dtype[Unknown]]] (of size 3) into 2 values [bad-unpacking]
+ ERROR pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py:447:13-17: Cannot unpack tuple[ndarray[tuple[Any, ...], dtype[float64]], ndarray[tuple[Any, ...], dtype[Unknown]]] | tuple[tuple[ndarray[Unknown, Unknown], ndarray[Unknown, Unknown]], ndarray[tuple[Any, ...], dtype[float64]], ndarray[tuple[Any, ...], dtype[Unknown]]] (of size 3) into 2 values [bad-unpacking]
- ERROR pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py:456:13-17: Cannot unpack tuple[ndarray[tuple[Any, ...], dtype[Unknown]]] | tuple[tuple[ndarray[Unknown, Unknown], ndarray[Unknown, Unknown]], ndarray[tuple[Any, ...], dtype[Unknown]]] (of size 2) into 1 value [bad-unpacking]
+ ERROR pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py:456:13-17: Cannot unpack tuple[ndarray[tuple[Any, ...], dtype[float64]]] | tuple[tuple[ndarray[Unknown, Unknown], ndarray[Unknown, Unknown]], ndarray[tuple[Any, ...], dtype[float64]]] (of size 2) into 1 value [bad-unpacking]
- ERROR pytensor/link/numba/dispatch/linalg/decomposition/dispatch.py:480:20-29: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/scan/rewriting/db.py:48:9-60: Result of call expression is of type `tuple[Self@ScanEquilibriumGraphRewriter, list[float], list[Counter[Unknown]], tuple[int, int, int], list[float], list[int], dict[GraphRewriter | NodeRewriter, float], list[float], Counter[GraphRewriter | Unknown], list[list[Never]], list[list[Unknown]], list[list[Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR pytensor/scan/rewriting/db.py:48:9-60: Result of call expression is of type `tuple[Self@ScanEquilibriumGraphRewriter, list[float], list[Counter[GraphRewriter | Unknown]], tuple[int, int, int], list[float], list[int], dict[GraphRewriter | NodeRewriter, float], list[float], Counter[GraphRewriter | Unknown], list[list[Never]], list[list[Unknown]], list[list[Unknown]]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR pytensor/tensor/elemwise.py:568:37-48: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR pytensor/tensor/elemwise.py:569:49-59: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR pytensor/tensor/rewriting/math.py:3736:5-19: Fixpoint iteration did not converge. Inferred type `(root: Unknown) -> list[bool | list[list[bool | Unknown]]] | list[bool | Unknown] | list[Unknown]`. Adding annotations may help. [non-convergent-recursion]
- ERROR pytensor/tensor/rewriting/math.py:3777:25-28: Implicit conversion of `bool | list[list[Unknown]] | Unknown` to `bool` is not allowed [implicit-bool]
+ ERROR pytensor/tensor/rewriting/math.py:3777:25-28: Implicit conversion of `bool | list[list[bool | Unknown] | list[Unknown]] | list[list[bool | Unknown]] | Unknown` to `bool` is not allowed [implicit-bool]
xarray (https://github.com/pydata/xarray)
- ERROR xarray/coding/cftimeindex.py:151:20-52: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/coding/cftimeindex.py:405:19-63: The type of `loc` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/coding/cftimeindex.py:408:16-19: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/coding/cftimeindex.py:448:20-47: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/coding/cftimeindex.py:770:18-27: The type of `values` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/coding/cftimeindex.py:770:23-27: The type of attribute `asi8` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/coding/cftimeindex.py:832:21-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/coding/cftimeindex.py:832:26-30: The type of attribute `year` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/computation/apply_ufunc.py:548:29-40: Argument `dict[Unknown, Unknown] | tuple[dict[Hashable, Variable[Unknown, Unknown, Unknown]], ...]` is not assignable to parameter `variables` with type `dict[Hashable, Variable[Unknown, Unknown]]` in function `_fast_dataset` [bad-argument-type]
+ ERROR xarray/computation/apply_ufunc.py:548:29-40: Argument `dict[Unknown, Unknown] | tuple[dict[Hashable, Variable[Unknown, Unknown]], ...]` is not assignable to parameter `variables` with type `dict[Hashable, Variable[Unknown, Unknown]]` in function `_fast_dataset` [bad-argument-type]
- ERROR xarray/computation/fit.py:510:13-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/computation/fit.py:511:13-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/core/accessor_dt.py:65:18-45: The type of `months` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/core/accessor_dt.py:65:40-45: The type of attribute `month` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/core/accessor_dt.py:66:44-50: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/core/groupby.py:1773:60-69: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/core/groupby.py:1783:54-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/core/groupby.py:1961:50-59: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/structure/combine.py:765:31-43: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/structure/combine.py:769:41-53: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/structure/combine.py:773:9-21: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/testing/assertions.py:116:33-62: No matching overload found for function `xarray.core.datatree_mapping.map_over_datasets` called with arguments: ((a: Unknown, b: Unknown) -> tuple[DataArray | Dataset | Variable[tuple[Unknown, ...], Unknown], Unknown] | tuple[DataArray | Dataset | Variable[Unknown, Unknown], Unknown] | tuple[Unknown, Unknown], DataTree, Unknown) [no-matching-overload]
+ ERROR xarray/testing/assertions.py:116:33-62: No matching overload found for function `xarray.core.datatree_mapping.map_over_datasets` called with arguments: ((a: Unknown, b: Unknown) -> tuple[DataArray | Dataset | Variable[tuple[int, ...], Unknown], Unknown] | tuple[DataArray | Dataset | Variable[Unknown, Unknown], Unknown] | tuple[Unknown, Unknown], DataTree, Unknown) [no-matching-overload]
- ERROR xarray/tests/test_cftime_offsets.py:1394:14-89: The type of `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftime_offsets.py:1394:78-89: The type of attribute `day_of_week` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftime_offsets.py:1396:35-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftime_offsets.py:1401:14-89: The type of `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftime_offsets.py:1401:78-89: The type of attribute `day_of_year` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftime_offsets.py:1403:35-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1390:14-24: The type of `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1390:20-24: The type of attribute `asi8` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1392:35-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1402:14-24: The type of `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1402:20-24: The type of attribute `asi8` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1404:35-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1410:14-24: The type of `result` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1410:20-24: The type of attribute `asi8` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_cftimeindex.py:1412:35-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_coding_times.py:805:9-43: Result of call expression is of type `tuple[dict[Any, Variable[Unknown, Unknown, Unknown]], MutableMapping[Any, Any]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR xarray/tests/test_coding_times.py:805:9-43: Result of call expression is of type `tuple[dict[Any, Variable[Unknown, Unknown]], MutableMapping[Any, Any]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR xarray/tests/test_combine.py:168:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_combine.py:190:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_combine.py:197:13-56: Result of call expression is of type `tuple[dict[tuple[Unknown, ...], DataTree | Dataset], list[Hashable]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR xarray/tests/test_combine.py:197:13-56: Result of call expression is of type `tuple[dict[tuple[int, ...], DataTree | Dataset], list[Hashable]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR xarray/tests/test_combine.py:206:13-56: Result of call expression is of type `tuple[dict[tuple[Unknown, ...], DataTree | Dataset], list[Hashable]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR xarray/tests/test_combine.py:206:13-56: Result of call expression is of type `tuple[dict[tuple[int, ...], DataTree | Dataset], list[Hashable]]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR xarray/tests/test_combine.py:214:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_combine.py:221:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_combine.py:232:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_combine.py:241:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_combine.py:251:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_combine.py:264:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR xarray/tests/test_conventions.py:263:13-57: Result of call expression is of type `tuple[dict[Any, Variable[Unknown, Unknown, Unknown]], MutableMapping[Any, Any] | dict[Any, Any]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR xarray/tests/test_conventions.py:263:13-57: Result of call expression is of type `tuple[dict[Any, Variable[Unknown, Unknown]], MutableMapping[Any, Any] | dict[Any, Any]]` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR xarray/tests/test_dataarray.py:5136:16-5138:14: Object of class `bool` has no attribute `all` [missing-attribute]
- ERROR xarray/tests/test_dataarray.py:5138:11-14: The type of attribute `all` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR xarray/tests/test_interp.py:71:1-16: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type] |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TLDR we truncate inferred types at depth 3, replacing any further types with Unknown to prevent inferring/displaying a huge type for
list[list[list[list[...]]]]but if we have
list[list[list[int]]]we hit the depth limit and replaceintwithUnknownthis is unnecessary, since
intcan't have any more nestingthis PR preserves class types w/o type arguments when the depth limti is reached
See this thread https://discord.com/channels/1319086885024567347/1576162535189778454 for context
Slightly related to #5779, except this is truncation by nesting depth not union width
Test Plan
test.py