-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
baseline cache #841
Merged
Merged
baseline cache #841
Conversation
This file contains 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
This comment has been minimized.
This comment has been minimized.
337adb3
to
89a846d
Compare
This comment has been minimized.
This comment has been minimized.
b977718
to
80d9db8
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
DetachHead
approved these changes
Dec 16, 2024
Diff from mypy_primer, showing the effect of this PR on open source code: scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:5: error: Expression type contains "Any" (has type "(Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]], Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]])") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:5: error: Expression type contains "Any" (has type "(Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]], ndarray[tuple[int, ...], dtype[signedinteger[Any]]] | Untyped)") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:19: error: Expression type contains "Any" (has type "product[(Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]], Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]])]") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:5: error: Expression type contains "Any" (has type "ndarray[tuple[int, ...], dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:19: error: Expression type contains "Any" (has type "product[(Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]], ndarray[tuple[int, ...], dtype[signedinteger[Any]]] | Untyped)]") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1267:24: error: Expression type contains "Any" (has type "Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]]") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1267:24: error: Expression type contains "Any" (has type "ndarray[tuple[int, ...], dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1271:13: error: Expression type contains "Any" (has type "Untyped | ndarray[tuple[int, ...], dtype[signedinteger[Any]]]") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1271:13: error: Expression type contains "Any" (has type "ndarray[tuple[int, ...], dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
- sklearn/tree/tests/test_tree.py:613:5: error: Expression type contains "Any" (has type "(int | None, Any (from omitted generics))") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:613:5: error: Expression type contains "Any" (has type "(None | int, Any (from omitted generics))") [no-any-expr]
- sklearn/tree/tests/test_tree.py:613:33: error: Expression type contains "Any" (has type "product[(int | None, Any (from omitted generics))]") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:613:33: error: Expression type contains "Any" (has type "product[(None | int, Any (from omitted generics))]") [no-any-expr]
- sklearn/tree/tests/test_tree.py:644:5: error: Expression type contains "Any" (has type "(int | None, Any (from omitted generics))") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:644:5: error: Expression type contains "Any" (has type "(None | int, Any (from omitted generics))") [no-any-expr]
- sklearn/tree/tests/test_tree.py:644:33: error: Expression type contains "Any" (has type "product[(int | None, Any (from omitted generics))]") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:644:33: error: Expression type contains "Any" (has type "product[(None | int, Any (from omitted generics))]") [no-any-expr]
- sklearn/tree/tests/test_tree.py:823:5: error: Expression type contains "Any" (has type "(int | None, Any (from omitted generics))") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:823:5: error: Expression type contains "Any" (has type "(None | int, Any (from omitted generics))") [no-any-expr]
- sklearn/tree/tests/test_tree.py:823:33: error: Expression type contains "Any" (has type "product[(int | None, Any (from omitted generics))]") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:823:33: error: Expression type contains "Any" (has type "product[(None | int, Any (from omitted generics))]") [no-any-expr]
- sklearn/neighbors/tests/test_neighbors.py:87:5: error: Expression type contains "Any" (has type "set[Any (from unimported type) | str]") [no-any-expr]
+ sklearn/neighbors/tests/test_neighbors.py:87:5: error: Expression type contains "Any" (has type "set[str | Any (from unimported type)]") [no-any-expr]
- sklearn/neighbors/tests/test_neighbors.py:87:23: error: Expression type contains "Any" (has type "map[set[Any (from unimported type) | str]]") [no-any-expr]
+ sklearn/neighbors/tests/test_neighbors.py:87:23: error: Expression type contains "Any" (has type "map[set[str | Any (from unimported type)]]") [no-any-expr]
- sklearn/covariance/tests/test_robust_covariance.py:97:44: error: Argument 1 to "product" has incompatible type "float | list[float] | list[list[float]] | list[list[list[Any]]]"; expected "Iterable[list[float] | float | list[list[Any]]]" [arg-type]
+ sklearn/covariance/tests/test_robust_covariance.py:97:44: error: Argument 1 to "product" has incompatible type "float | list[float] | list[list[float]] | list[list[list[Any]]]"; expected "Iterable[float | list[list[Any]] | list[float]]" [arg-type]
- sklearn/covariance/tests/test_robust_covariance.py:97:57: error: Argument 2 to "product" has incompatible type "float | list[float] | list[list[float]] | list[list[list[Any]]]"; expected "Iterable[list[float] | float | list[list[Any]]]" [arg-type]
+ sklearn/covariance/tests/test_robust_covariance.py:97:57: error: Argument 2 to "product" has incompatible type "float | list[float] | list[list[float]] | list[list[list[Any]]]"; expected "Iterable[float | list[list[Any]] | list[float]]" [arg-type]
- sklearn/utils/tests/test_multiclass.py:320:22: error: Expression type contains "Any" (has type "product[(list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float], list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float])]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:320:22: error: Expression type contains "Any" (has type "product[(list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str], list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str])]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "(list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float], list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float])") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "(list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str], list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str])") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:39: error: Expression type contains "Any" (has type "product[(list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float], list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float])]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:39: error: Expression type contains "Any" (has type "product[(list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str], list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str])]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:326:27: error: Expression type contains "Any" (has type "list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:326:27: error: Expression type contains "Any" (has type "list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:326:41: error: Expression type contains "Any" (has type "list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:326:41: error: Expression type contains "Any" (has type "list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:328:27: error: Expression type contains "Any" (has type "list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:328:27: error: Expression type contains "Any" (has type "list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:328:41: error: Expression type contains "Any" (has type "list[int] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:328:41: error: Expression type contains "Any" (has type "list[list[int]] | list[list[str]] | ndarray[tuple[int, ...], dtype[Any]] | ndarray[tuple[int, ...], dtype[signedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[unsignedinteger[_8Bit]]] | ndarray[tuple[int, ...], dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[tuple[int, ...], dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float] | list[int] | list[str]") [no-any-expr]
xarray (https://github.com/pydata/xarray)
- xarray/core/variable.py:2470:18: error: Expression type contains "Any" (has type "(Any | str, Any)") [no-any-expr]
+ xarray/core/variable.py:2470:18: error: Expression type contains "Any" (has type "(str | Any, Any)") [no-any-expr]
- xarray/core/variable.py:2472:25: error: Expression type contains "Any" (has type "zip[(Any | str, Any)]") [no-any-expr]
+ xarray/core/variable.py:2472:25: error: Expression type contains "Any" (has type "zip[(str | Any, Any)]") [no-any-expr]
- xarray/core/concat.py:264:16: error: Value of type variable "T_DataArray" of "_dataarray_concat" cannot be "T_Dataset@concat | T_DataArray@concat" [type-var]
+ xarray/core/concat.py:264:16: error: Value of type variable "T_DataArray" of "_dataarray_concat" cannot be "T_DataArray@concat | T_Dataset@concat" [type-var]
- xarray/core/concat.py:277:16: error: Value of type variable "T_Dataset" of "_dataset_concat" cannot be "T_Dataset@concat | T_DataArray@concat" [type-var]
+ xarray/core/concat.py:277:16: error: Value of type variable "T_Dataset" of "_dataset_concat" cannot be "T_DataArray@concat | T_Dataset@concat" [type-var]
setuptools (https://github.com/pypa/setuptools)
- File "/main.py", line 216, in run_build
+ File "/main.py", line 220, in run_build
- File "/build.py", line 3077, in dispatch
+ File "/build.py", line 3114, in dispatch
- File "/build.py", line 3477, in process_graph
+ File "/build.py", line 3514, in process_graph
- File "/build.py", line 3578, in process_stale_scc
+ File "/build.py", line 3615, in process_stale_scc
- File "/build.py", line 2445, in type_check_first_pass
+ File "/build.py", line 2481, in type_check_first_pass
- KeyError: <mypy.nodes.NameExpr object at 0x7f9a97f61f30>
+ KeyError: <mypy.nodes.NameExpr object at 0x7f9d6d9f9f30>
ibis (https://github.com/ibis-project/ibis)
- ibis/expr/api.py:451:41: error: Expression type contains "Any" (has type "zip[(Any (from unimported type), Any | str)]") [no-any-expr]
+ ibis/expr/api.py:451:41: error: Expression type contains "Any" (has type "zip[(Any (from unimported type), str | Any)]") [no-any-expr]
openlibrary (https://github.com/internetarchive/openlibrary)
- openlibrary/plugins/upstream/addbook.py:83:17: error: Expression type contains "Any" (has type "(str | Untyped, str | Untyped)") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:83:17: error: Expression type contains "Any" (has type "(Untyped | str, Untyped | str)") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:83:17: error: Expression type contains "Any" (has type "str | Untyped") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:83:17: error: Expression type contains "Any" (has type "Untyped | str") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:84:21: error: Expression type contains "Any" (has type "str | Untyped") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:84:21: error: Expression type contains "Any" (has type "Untyped | str") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:84:26: error: Expression type contains "Any" (has type "str | Untyped") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:84:26: error: Expression type contains "Any" (has type "Untyped | str") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:85:26: error: Expression type contains "Any" (has type "zip[(str | Untyped, str | Untyped)]") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:85:26: error: Expression type contains "Any" (has type "zip[(Untyped | str, Untyped | str)]") [no-any-expr]
sympy (https://github.com/sympy/sympy)
- sympy/logic/boolalg.py:3170:17: error: Expression type contains "Any" (has type "(_Inequality | Untyped, _Inequality | Untyped)") [no-any-expr]
+ sympy/logic/boolalg.py:3170:17: error: Expression type contains "Any" (has type "(Untyped | _Inequality, Untyped | _Inequality)") [no-any-expr]
- sympy/logic/boolalg.py:3170:17: error: Expression type contains "Any" (has type "_Inequality | Untyped") [no-any-expr]
+ sympy/logic/boolalg.py:3170:17: error: Expression type contains "Any" (has type "Untyped | _Inequality") [no-any-expr]
- sympy/logic/boolalg.py:3170:31: error: Expression type contains "Any" (has type "product[(_Inequality | Untyped, _Inequality | Untyped)]") [no-any-expr]
+ sympy/logic/boolalg.py:3170:31: error: Expression type contains "Any" (has type "product[(Untyped | _Inequality, Untyped | _Inequality)]") [no-any-expr]
- sympy/logic/boolalg.py:3172:37: error: Expression type contains "Any" (has type "_Inequality | Untyped") [no-any-expr]
+ sympy/logic/boolalg.py:3172:37: error: Expression type contains "Any" (has type "Untyped | _Inequality") [no-any-expr]
- sympy/logic/boolalg.py:3172:41: error: Expression type contains "Any" (has type "_Inequality | Untyped") [no-any-expr]
+ sympy/logic/boolalg.py:3172:41: error: Expression type contains "Any" (has type "Untyped | _Inequality") [no-any-expr]
- sympy/logic/boolalg.py:3238:17: error: Expression type contains "Any" (has type "(_Inequality | Untyped, _Inequality | Untyped, _Inequality | Untyped)") [no-any-expr]
+ sympy/logic/boolalg.py:3238:17: error: Expression type contains "Any" (has type "(Untyped | _Inequality, Untyped | _Inequality, Untyped | _Inequality)") [no-any-expr]
- sympy/logic/boolalg.py:3238:17: error: Expression type contains "Any" (has type "_Inequality | Untyped") [no-any-expr]
+ sympy/logic/boolalg.py:3238:17: error: Expression type contains "Any" (has type "Untyped | _Inequality") [no-any-expr]
- sympy/logic/boolalg.py:3238:35: error: Expression type contains "Any" (has type "product[(_Inequality | Untyped, _Inequality | Untyped, _Inequality | Untyped)]") [no-any-expr]
+ sympy/logic/boolalg.py:3238:35: error: Expression type contains "Any" (has type "product[(Untyped | _Inequality, Untyped | _Inequality, Untyped | _Inequality)]") [no-any-expr]
- sympy/logic/boolalg.py:3240:37: error: Expression type contains "Any" (has type "_Inequality | Untyped") [no-any-expr]
+ sympy/logic/boolalg.py:3240:37: error: Expression type contains "Any" (has type "Untyped | _Inequality") [no-any-expr]
- sympy/logic/boolalg.py:3240:41: error: Expression type contains "Any" (has type "_Inequality | Untyped") [no-any-expr]
+ sympy/logic/boolalg.py:3240:41: error: Expression type contains "Any" (has type "Untyped | _Inequality") [no-any-expr]
- sympy/logic/boolalg.py:3240:45: error: Expression type contains "Any" (has type "_Inequality | Untyped") [no-any-expr]
+ sympy/logic/boolalg.py:3240:45: error: Expression type contains "Any" (has type "Untyped | _Inequality") [no-any-expr]
- sympy/solvers/solvers.py:3623:38: error: Expression type contains "Any" (has type "dict[Dummy | Any, Add | Any]") [no-any-expr]
+ sympy/solvers/solvers.py:3623:38: error: Expression type contains "Any" (has type "dict[Any | Dummy, Add | Any]") [no-any-expr]
- sympy/solvers/solvers.py:3623:43: error: Expression type contains "Any" (has type "zip[(Dummy | Any, Add | Any)]") [no-any-expr]
+ sympy/solvers/solvers.py:3623:43: error: Expression type contains "Any" (has type "zip[(Any | Dummy, Add | Any)]") [no-any-expr]
- sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(int, (Any, Infinity | None | Any (unannotated) | int))") [no-any-expr]
+ sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(int, (Any, int | Infinity | Any (unannotated) | None))") [no-any-expr]
- sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(Any, Infinity | None | Any (unannotated) | int)") [no-any-expr]
+ sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(Any, int | Infinity | Any (unannotated) | None)") [no-any-expr]
- sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "Infinity | None | Any (unannotated) | int") [no-any-expr]
+ sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "int | Infinity | Any (unannotated) | None") [no-any-expr]
- sympy/series/tests/test_limits.py:455:27: error: Expression type contains "Any" (has type "enumerate[(Any, Infinity | None | Any (unannotated) | int)]") [no-any-expr]
+ sympy/series/tests/test_limits.py:455:27: error: Expression type contains "Any" (has type "enumerate[(Any, int | Infinity | Any (unannotated) | None)]") [no-any-expr]
- sympy/series/tests/test_limits.py:455:37: error: Expression type contains "Any" (has type "zip[(Any, Infinity | None | Any (unannotated) | int)]") [no-any-expr]
+ sympy/series/tests/test_limits.py:455:37: error: Expression type contains "Any" (has type "zip[(Any, int | Infinity | Any (unannotated) | None)]") [no-any-expr]
- sympy/series/tests/test_limits.py:459:20: error: Expression type contains "Any" (has type "None | bool | Any (unannotated)") [no-any-expr]
+ sympy/series/tests/test_limits.py:459:20: error: Expression type contains "Any" (has type "bool | None | Any (unannotated)") [no-any-expr]
- sympy/series/tests/test_limits.py:459:46: error: Expression type contains "Any" (has type "Infinity | None | Any (unannotated) | int") [no-any-expr]
+ sympy/series/tests/test_limits.py:459:46: error: Expression type contains "Any" (has type "int | Infinity | Any (unannotated) | None") [no-any-expr]
- sympy/series/tests/test_limits.py:491:5: error: Expression type contains "Any" (has type "(int, ((Any (from error), Any (unannotated) | float | None, str), Infinity | None | int))") [no-any-expr]
+ sympy/series/tests/test_limits.py:491:5: error: Expression type contains "Any" (has type "(int, ((Any (from error), Any (unannotated) | float | None, str), None | Infinity | int))") [no-any-expr]
- sympy/series/tests/test_limits.py:491:5: error: Expression type contains "Any" (has type "((Any (from error), Any (unannotated) | float | None, str), Infinity | None | int)") [no-any-expr]
+ sympy/series/tests/test_limits.py:491:5: error: Expression type contains "Any" (has type "((Any (from error), Any (unannotated) | float | None, str), None | Infinity | int)") [no-any-expr]
- sympy/series/tests/test_limits.py:491:27: error: Expression type contains "Any" (has type "enumerate[((Any (from error), Any (unannotated) | float | None, str), Infinity | None | int)]") [no-any-expr]
+ sympy/series/tests/test_limits.py:491:27: error: Expression type contains "Any" (has type "enumerate[((Any (from error), Any (unannotated) | float | None, str), None | Infinity | int)]") [no-any-expr]
- sympy/series/tests/test_limits.py:491:37: error: Expression type contains "Any" (has type "zip[((Any (from error), Any (unannotated) | float | None, str), Infinity | None | int)]") [no-any-expr]
+ sympy/series/tests/test_limits.py:491:37: error: Expression type contains "Any" (has type "zip[((Any (from error), Any (unannotated) | float | None, str), None | Infinity | int)]") [no-any-expr]
- sympy/core/tests/test_arit.py:2448:5: error: Expression type contains "Any" (has type "tuple[AccumulationBounds | ComplexInfinity | Any, ...]") [no-any-expr]
+ sympy/core/tests/test_arit.py:2448:5: error: Expression type contains "Any" (has type "tuple[ComplexInfinity | AccumulationBounds | Any, ...]") [no-any-expr]
- sympy/core/tests/test_arit.py:2448:17: error: Expression type contains "Any" (has type "permutations[tuple[AccumulationBounds | ComplexInfinity | Any, ...]]") [no-any-expr]
+ sympy/core/tests/test_arit.py:2448:17: error: Expression type contains "Any" (has type "permutations[tuple[ComplexInfinity | AccumulationBounds | Any, ...]]") [no-any-expr]
- sympy/core/tests/test_arit.py:2449:18: error: Expression type contains "Any" (has type "tuple[AccumulationBounds | ComplexInfinity | Any, ...]") [no-any-expr]
+ sympy/core/tests/test_arit.py:2449:18: error: Expression type contains "Any" (has type "tuple[ComplexInfinity | AccumulationBounds | Any, ...]") [no-any-expr]
speedrun.com_global_scoreboard_webapp (https://github.com/Avasam/speedrun.com_global_scoreboard_webapp): 82.02x slower (0.9s -> 76.1s in a single noisy sample)
Expression (https://github.com/cognitedata/Expression)
- tests/test_result.py:671:12: error: Expression type contains "Any" (has type "int | Any") [no-any-expr]
- tests/test_result.py:671:12: error: Expression type contains "Any" (has type "bool | Any") [no-any-expr]
+ tests/test_result.py:671:12: error: Expression type contains "Any" (has type "Any | int") [no-any-expr]
+ tests/test_result.py:671:12: error: Expression type contains "Any" (has type "Any | bool") [no-any-expr]
core (https://github.com/home-assistant/core)
- File "/main.py", line 216, in run_build
+ File "/main.py", line 220, in run_build
- File "/build.py", line 3077, in dispatch
+ File "/build.py", line 3114, in dispatch
- File "/build.py", line 3477, in process_graph
+ File "/build.py", line 3514, in process_graph
- File "/build.py", line 3578, in process_stale_scc
+ File "/build.py", line 3615, in process_stale_scc
- File "/build.py", line 2445, in type_check_first_pass
+ File "/build.py", line 2481, in type_check_first_pass
mkdocs (https://github.com/mkdocs/mkdocs)
- mkdocs/tests/config/config_tests.py:215:9: error: Expression type contains "Any" (has type "(dict[str, str] | dict[str, dict[str, str]] | dict[str, dict[str, None | Untyped]] | dict[str, dict[str, str | Untyped]] | dict[str, dict[str, str | list[str] | bool]], dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]])") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:215:9: error: Expression type contains "Any" (has type "(dict[str, str] | dict[str, dict[str, str]] | dict[str, dict[str, None | Untyped]] | dict[str, dict[str, str | Untyped]] | dict[str, dict[str, str | list[str] | bool]], dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]])") [no-any-expr]
- mkdocs/tests/config/config_tests.py:215:9: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:215:9: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]]") [no-any-expr]
- mkdocs/tests/config/config_tests.py:215:40: error: Expression type contains "Any" (has type "zip[(dict[str, str] | dict[str, dict[str, str]] | dict[str, dict[str, None | Untyped]] | dict[str, dict[str, str | Untyped]] | dict[str, dict[str, str | list[str] | bool]], dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]])]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:215:40: error: Expression type contains "Any" (has type "zip[(dict[str, str] | dict[str, dict[str, str]] | dict[str, dict[str, None | Untyped]] | dict[str, dict[str, str | Untyped]] | dict[str, dict[str, str | list[str] | bool]], dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]])]") [no-any-expr]
- mkdocs/tests/config/config_tests.py:222:54: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:222:54: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]]") [no-any-expr]
- mkdocs/tests/config/config_tests.py:223:70: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:223:70: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]]") [no-any-expr]
- mkdocs/tests/config/config_tests.py:224:55: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:224:55: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]]") [no-any-expr]
trio (https://github.com/python-trio/trio)
- src/trio/_tests/type_tests/raisesgroup.py:189:12: error: "d" has type "RaisesGroup[TypeError | ValueError]" which does not implement __bool__ or __len__ so it could always be true in boolean context [truthy-bool]
+ src/trio/_tests/type_tests/raisesgroup.py:189:12: error: "d" has type "RaisesGroup[ValueError | TypeError]" which does not implement __bool__ or __len__ so it could always be true in boolean context [truthy-bool]
scipy (https://github.com/scipy/scipy)
- scipy/fft/tests/test_backend.py:56:49: error: Expression type contains "Any" (has type "zip[(partial[Any (from error)] | None, def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[complex128]]=...) -> ndarray[tuple[int, ...], dtype[complex128]] | partial[None] | def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], s: None | Sequence[int]=..., axes: None | Sequence[int]=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[complex128]]=...) -> ndarray[tuple[int, ...], dtype[complex128]] | def (x: Untyped, s: Untyped=..., axes: Untyped=..., norm: Untyped=..., overwrite_x: bool=..., workers: Untyped=..., *, plan: Untyped = ...) -> None | def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], s: None | Sequence[int]=..., axes: None | Sequence[int]=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[float64]]=...) -> ndarray[tuple[int, ...], dtype[float64]] | partial[Any (from error)] | def (a: _SupportsArray[dtype[numpy.bool[bool]] | dtype[number[Any, int | float | complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[bool]] | dtype[number[Any, int | float | complex]]]] | bool | int | float | complex | _NestedSequence[bool | int | float | complex], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[float64]]=...) -> ndarray[tuple[int, ...], dtype[float64]] | def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[float64]]=...) -> ndarray[tuple[int, ...], dtype[float64]], _MockFunction)]") [no-any-expr]
+ scipy/fft/tests/test_backend.py:56:49: error: Expression type contains "Any" (has type "zip[(partial[Any (from error)] | None, def (x: Untyped, s: Untyped=..., axes: Untyped=..., norm: Untyped=..., overwrite_x: bool=..., workers: Untyped=..., *, plan: Untyped = ...) -> None | def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], s: None | Sequence[int]=..., axes: None | Sequence[int]=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[complex128]]=...) -> ndarray[tuple[int, ...], dtype[complex128]] | partial[Any (from error)] | partial[None] | def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[complex128]]=...) -> ndarray[tuple[int, ...], dtype[complex128]] | def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], s: None | Sequence[int]=..., axes: None | Sequence[int]=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[float64]]=...) -> ndarray[tuple[int, ...], dtype[float64]] | def (a: _SupportsArray[dtype[numpy.bool[bool]] | dtype[number[Any, int | float | complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[bool]] | dtype[number[Any, int | float | complex]]]] | bool | int | float | complex | _NestedSequence[bool | int | float | complex], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[float64]]=...) -> ndarray[tuple[int, ...], dtype[float64]] | def (a: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[tuple[int, ...], dtype[float64]]=...) -> ndarray[tuple[int, ...], dtype[float64]], _MockFunction)]") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:426:5: error: Expression type contains "Any" (has type "tuple[None | int | Any | str, ...]") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:426:5: error: Expression type contains "Any" (has type "tuple[Any | None | str | int, ...]") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:426:5: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:426:5: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:426:46: error: Expression type contains "Any" (has type "product[tuple[None | int | Any | str, ...]]") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:426:46: error: Expression type contains "Any" (has type "product[tuple[Any | None | str | int, ...]]") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:427:12: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:427:12: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:427:12: error: Expression type contains "Any" (has type "bool | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:427:38: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:427:38: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:429:51: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:429:51: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:429:51: error: Argument "fft_mode" to "ShortTimeFFT" has incompatible type "None | int | Any | str"; expected "'twosided' | 'centered' | 'onesided' | 'onesided2X'" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:429:51: error: Argument "fft_mode" to "ShortTimeFFT" has incompatible type "Any | None | str | int"; expected "'twosided' | 'centered' | 'onesided' | 'onesided2X'" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:429:63: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:429:63: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:429:63: error: Argument "mfft" to "ShortTimeFFT" has incompatible type "None | int | Any | str"; expected "int | None" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:429:63: error: Argument "mfft" to "ShortTimeFFT" has incompatible type "Any | None | str | int"; expected "int | None" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:430:37: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:430:37: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:430:37: error: Argument "scale_to" to "ShortTimeFFT" has incompatible type "None | int | Any | str"; expected "'magnitude' | 'psd' | None" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:430:37: error: Argument "scale_to" to "ShortTimeFFT" has incompatible type "Any | None | str | int"; expected "'magnitude' | 'psd' | None" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:430:58: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:430:58: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:430:58: error: Argument "phase_shift" to "ShortTimeFFT" has incompatible type "None | int | Any | str"; expected "int | None" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:430:58: error: Argument "phase_shift" to "ShortTimeFFT" has incompatible type "Any | None | str | int"; expected "int | None" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:435:27: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:435:27: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:435:37: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:435:37: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:435:46: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:435:46: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:435:58: error: Expression type contains "Any" (has type "None | int | Any | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:435:58: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
- scipy/signal/tests/test_filter_design.py:659:9: error: Expression type contains "Any" (has type "(Any | list[float | int], list[float | int], list[float] | list[complex])") [no-any-expr]
+ scipy/signal/tests/test_filter_design.py:659:9: error: Expression type contains "Any" (has type "(Any | list[float | int], list[float | int], list[complex] | list[float])") [no-any-expr]
- scipy/signal/tests/test_filter_design.py:659:30: error: Expression type contains "Any" (has type "zip[(Any | list[float | int], list[float | int], list[float] | list[complex])]") [no-any-expr]
+ scipy/signal/tests/test_filter_design.py:659:30: error: Expression type contains "Any" (has type "zip[(Any | list[float | int], list[float | int], list[complex] | list[float])]") [no-any-expr]
|
4136963
to
6fbe7eb
Compare
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.
No description provided.