Skip to content
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

collections.User* should have __repr__ #836

Merged
merged 1 commit into from
Dec 4, 2024
Merged

collections.User* should have __repr__ #836

merged 1 commit into from
Dec 4, 2024

Conversation

KotlinIsland
Copy link
Owner

No description provided.

Copy link

github-actions bot commented Dec 4, 2024

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

arviz (https://github.com/arviz-devs/arviz)
- arviz/data/inference_data.py:716:28: error: Expression type contains "Any" (has type "map[reversed[int | Any]]")  [no-any-expr]
+ arviz/data/inference_data.py:716:28: error: Expression type contains "Any" (has type "map[reversed[Any | int]]")  [no-any-expr]
- arviz/data/inference_data.py:716:28: error: Argument 1 to "dict" has incompatible type "map[reversed[int | Any]]"; expected "Iterable[(Never, Never)]"  [arg-type]
+ arviz/data/inference_data.py:716:28: error: Argument 1 to "dict" has incompatible type "map[reversed[Any | int]]"; expected "Iterable[(Never, Never)]"  [arg-type]
- arviz/plots/backends/matplotlib/energyplot.py:62:14: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])]")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:62:14: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))]")  [no-any-expr]
- arviz/plots/backends/matplotlib/energyplot.py:70:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:70:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))")  [no-any-expr]
- arviz/plots/backends/matplotlib/energyplot.py:70:9: error: Expression type contains "Any" (has type "Any (unannotated) | ndarray[Any, dtype[Any]]")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:70:9: error: Expression type contains "Any" (has type "ndarray[Any, dtype[Any]] | Any (unannotated)")  [no-any-expr]
- arviz/plots/backends/matplotlib/energyplot.py:70:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])]")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:70:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))]")  [no-any-expr]
- arviz/plots/backends/matplotlib/energyplot.py:77:17: error: Expression type contains "Any" (has type "Any (unannotated) | ndarray[Any, dtype[Any]]")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:77:17: error: Expression type contains "Any" (has type "ndarray[Any, dtype[Any]] | Any (unannotated)")  [no-any-expr]
- arviz/plots/backends/matplotlib/energyplot.py:87:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:87:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))")  [no-any-expr]
- arviz/plots/backends/matplotlib/energyplot.py:87:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])]")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:87:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))]")  [no-any-expr]
- arviz/plots/backends/matplotlib/energyplot.py:89:17: error: Expression type contains "Any" (has type "Any (unannotated) | ndarray[Any, dtype[Any]]")  [no-any-expr]
+ arviz/plots/backends/matplotlib/energyplot.py:89:17: error: Expression type contains "Any" (has type "ndarray[Any, dtype[Any]] | Any (unannotated)")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:72:14: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])]")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:72:14: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))]")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:82:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:82:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:82:9: error: Expression type contains "Any" (has type "Any (unannotated) | ndarray[Any, dtype[Any]]")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:82:9: error: Expression type contains "Any" (has type "ndarray[Any, dtype[Any]] | Any (unannotated)")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:82:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])]")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:82:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))]")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:88:17: error: Expression type contains "Any" (has type "Any (unannotated) | ndarray[Any, dtype[Any]]")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:88:17: error: Expression type contains "Any" (has type "ndarray[Any, dtype[Any]] | Any (unannotated)")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:111:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:111:9: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:111:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, Any (unannotated) | ndarray[Any, dtype[Any]])]")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:111:43: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str, ndarray[Any, dtype[Any]] | Any (unannotated))]")  [no-any-expr]
- arviz/plots/backends/bokeh/energyplot.py:117:17: error: Expression type contains "Any" (has type "Any (unannotated) | ndarray[Any, dtype[Any]]")  [no-any-expr]
+ arviz/plots/backends/bokeh/energyplot.py:117:17: error: Expression type contains "Any" (has type "ndarray[Any, dtype[Any]] | Any (unannotated)")  [no-any-expr]

optuna (https://github.com/optuna/optuna)
- tests/samplers_tests/tpe_tests/test_parzen_estimator.py:25:9: error: Expression type contains "Any" (has type "(float | ndarray[Untyped, Untyped], float | ndarray[Untyped, Untyped])")  [no-any-expr]
+ tests/samplers_tests/tpe_tests/test_parzen_estimator.py:25:9: error: Expression type contains "Any" (has type "(ndarray[Untyped, Untyped] | float, ndarray[Untyped, Untyped] | float)")  [no-any-expr]
- tests/samplers_tests/tpe_tests/test_parzen_estimator.py:25:9: error: Expression type contains "Any" (has type "float | ndarray[Untyped, Untyped]")  [no-any-expr]
+ tests/samplers_tests/tpe_tests/test_parzen_estimator.py:25:9: error: Expression type contains "Any" (has type "ndarray[Untyped, Untyped] | float")  [no-any-expr]
- tests/samplers_tests/tpe_tests/test_parzen_estimator.py:25:31: error: Expression type contains "Any" (has type "zip[(float | ndarray[Untyped, Untyped], float | ndarray[Untyped, Untyped])]")  [no-any-expr]
+ tests/samplers_tests/tpe_tests/test_parzen_estimator.py:25:31: error: Expression type contains "Any" (has type "zip[(ndarray[Untyped, Untyped] | float, ndarray[Untyped, Untyped] | float)]")  [no-any-expr]
- tests/samplers_tests/tpe_tests/test_parzen_estimator.py:26:53: error: Expression type contains "Any" (has type "float | ndarray[Untyped, Untyped]")  [no-any-expr]
+ tests/samplers_tests/tpe_tests/test_parzen_estimator.py:26:53: error: Expression type contains "Any" (has type "ndarray[Untyped, Untyped] | float")  [no-any-expr]
- tests/samplers_tests/tpe_tests/test_parzen_estimator.py:26:71: error: Expression type contains "Any" (has type "float | ndarray[Untyped, Untyped]")  [no-any-expr]
+ tests/samplers_tests/tpe_tests/test_parzen_estimator.py:26:71: error: Expression type contains "Any" (has type "ndarray[Untyped, Untyped] | float")  [no-any-expr]

scikit-learn (https://github.com/scikit-learn/scikit-learn)
- 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[str | Any (from unimported type)]")  [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:23: error: Expression type contains "Any" (has type "map[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/utils/tests/test_multiclass.py:320:22: error: Expression type contains "Any" (has type "product[(list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str], list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str])]")  [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "(list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str], list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str])")  [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str]")  [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:39: error: Expression type contains "Any" (has type "product[(list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str], list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str])]")  [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:320:22: error: Expression type contains "Any" (has type "product[(Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float], Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float])]")  [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "(Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float], Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float])")  [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, 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[(Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float], Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, 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[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str]")  [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:326:41: error: Expression type contains "Any" (has type "list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str]")  [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:326:27: error: Expression type contains "Any" (has type "Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float]")  [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:326:41: error: Expression type contains "Any" (has type "Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, 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[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str]")  [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:328:41: error: Expression type contains "Any" (has type "list[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | list[str]")  [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:328:27: error: Expression type contains "Any" (has type "Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float]")  [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:328:41: error: Expression type contains "Any" (has type "Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | list[str] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[float] | list[int | float]")  [no-any-expr]

setuptools (https://github.com/pypa/setuptools)
- version: 2.9.0+dev.6c73030f2802822d439379af735af13c257015d5
+ version: 2.9.0+dev.f82bc171e5542457dcaaca9e9e77c8846b25c368
- KeyError: <mypy.nodes.NameExpr object at 0x7fb9b3075e10>
+ KeyError: <mypy.nodes.NameExpr object at 0x7f7aae8e1e10>

pydantic (https://github.com/pydantic/pydantic)
- version: 2.9.0+dev.6c73030f2802822d439379af735af13c257015d5
+ version: 2.9.0+dev.f82bc171e5542457dcaaca9e9e77c8846b25c368

sympy (https://github.com/sympy/sympy)
- sympy/solvers/solvers.py:3623:38: error: Expression type contains "Any" (has type "dict[Any | Dummy, Any]")  [no-any-expr]
+ sympy/solvers/solvers.py:3623:38: error: Expression type contains "Any" (has type "dict[Dummy | Any, Any]")  [no-any-expr]
- sympy/solvers/solvers.py:3623:43: error: Expression type contains "Any" (has type "zip[(Any | Dummy, Any)]")  [no-any-expr]
+ sympy/solvers/solvers.py:3623:43: error: Expression type contains "Any" (has type "zip[(Dummy | Any, Any)]")  [no-any-expr]
- sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(int, (Any, int | None | Infinity | Any (unannotated)))")  [no-any-expr]
+ sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(int, (Any, Infinity | None | int | Any (unannotated)))")  [no-any-expr]
- sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(Any, int | None | Infinity | Any (unannotated))")  [no-any-expr]
+ sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "(Any, Infinity | None | int | Any (unannotated))")  [no-any-expr]
- sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "int | None | Infinity | Any (unannotated)")  [no-any-expr]
+ sympy/series/tests/test_limits.py:455:5: error: Expression type contains "Any" (has type "Infinity | None | int | Any (unannotated)")  [no-any-expr]
- sympy/series/tests/test_limits.py:455:27: error: Expression type contains "Any" (has type "enumerate[(Any, int | None | Infinity | Any (unannotated))]")  [no-any-expr]
+ sympy/series/tests/test_limits.py:455:27: error: Expression type contains "Any" (has type "enumerate[(Any, Infinity | None | int | Any (unannotated))]")  [no-any-expr]
- sympy/series/tests/test_limits.py:455:37: error: Expression type contains "Any" (has type "zip[(Any, int | None | Infinity | Any (unannotated))]")  [no-any-expr]
+ sympy/series/tests/test_limits.py:455:37: error: Expression type contains "Any" (has type "zip[(Any, Infinity | None | int | 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:20: error: Expression type contains "Any" (has type "None | bool | Any (unannotated)")  [no-any-expr]
- sympy/series/tests/test_limits.py:459:46: error: Expression type contains "Any" (has type "int | None | Infinity | Any (unannotated)")  [no-any-expr]
+ sympy/series/tests/test_limits.py:459:46: error: Expression type contains "Any" (has type "Infinity | None | int | Any (unannotated)")  [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), int | None | Infinity))")  [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 "((Any (from error), Any (unannotated) | float | None, str), int | None | Infinity)")  [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:27: error: Expression type contains "Any" (has type "enumerate[((Any (from error), Any (unannotated) | float | None, str), int | None | Infinity)]")  [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:37: error: Expression type contains "Any" (has type "zip[((Any (from error), Any (unannotated) | float | None, str), int | None | Infinity)]")  [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/geometry/tests/test_point.py:389:9: error: Incompatible types in assignment (expression has type "((int, int) | Point | list[int], (int, int) | Point | list[int])", variable has type "(int, int) | list[int] | Point")  [assignment]
+ sympy/geometry/tests/test_point.py:389:9: error: Incompatible types in assignment (expression has type "(Point | list[int] | (int, int), Point | list[int] | (int, int))", variable has type "(int, int) | list[int] | Point")  [assignment]
- 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:5: error: Expression type contains "Any" (has type "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:2448:17: error: Expression type contains "Any" (has type "permutations[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]
+ sympy/core/tests/test_arit.py:2449:18: error: Expression type contains "Any" (has type "tuple[AccumulationBounds | ComplexInfinity | Any, ...]")  [no-any-expr]

rich (https://github.com/Textualize/rich): 35.97x slower (1.4s -> 50.2s in a single noisy sample)

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
- src/hydra_zen/_launch.py: note: In function "_process_dict_overrides":
- src/hydra_zen/_launch.py:126:39: error: The type "hydra_zen._launch.hydra_list[None | int | float | bool | str | dict[str, str]]" doesn't define a __format__, __str__ or __repr__ method  [helpful-string]

openlibrary (https://github.com/internetarchive/openlibrary)
- 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, 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:83:17: 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:21: 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:84:26: error: Expression type contains "Any" (has type "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]
+ openlibrary/plugins/upstream/addbook.py:85:26: error: Expression type contains "Any" (has type "zip[(str | Untyped, str | Untyped)]")  [no-any-expr]

scrapy (https://github.com/scrapy/scrapy)
- scrapy/utils/datatypes.py:132:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
+ scrapy/utils/datatypes.py:132:5: error: Method "__repr__" is not using @override but is overriding a method in class "collections.UserDict"  [explicit-override]

core (https://github.com/home-assistant/core)
- version: 2.9.0+dev.6c73030f2802822d439379af735af13c257015d5
+ version: 2.9.0+dev.f82bc171e5542457dcaaca9e9e77c8846b25c368

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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[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[Untyped | str] | list[str] | dict[str, None | Locale]])")  [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[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]]] | dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]])")  [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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[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[Untyped | str] | list[str] | dict[str, None | Locale]]")  [no-any-expr]
+ mkdocs/tests/config/config_tests.py:215:9: error: Expression type contains "Any" (has type "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]]] | dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]]")  [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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[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[Untyped | str] | list[str] | dict[str, None | Locale]])]")  [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[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]]] | dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]])]")  [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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[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[Untyped | str] | list[str] | dict[str, None | Locale]]")  [no-any-expr]
+ mkdocs/tests/config/config_tests.py:222:54: error: Expression type contains "Any" (has type "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]]] | dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]]")  [no-any-expr]
- mkdocs/tests/config/config_tests.py:222:54: error: Expression type contains "Any" (has type "list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | dict[str, None | Locale]")  [no-any-expr]
+ mkdocs/tests/config/config_tests.py:222:54: error: Expression type contains "Any" (has type "list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None] | list[Untyped | str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | dict[str, None | Locale]")  [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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[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[Untyped | str] | list[str] | dict[str, None | Locale]]")  [no-any-expr]
+ mkdocs/tests/config/config_tests.py:223:70: error: Expression type contains "Any" (has type "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]]] | dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]]")  [no-any-expr]
- mkdocs/tests/config/config_tests.py:223:70: error: Expression type contains "Any" (has type "list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | dict[str, None | Locale]")  [no-any-expr]
+ mkdocs/tests/config/config_tests.py:223:70: error: Expression type contains "Any" (has type "list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None] | list[Untyped | str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | dict[str, None | Locale]")  [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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[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[Untyped | str] | list[str] | dict[str, None | Locale]]")  [no-any-expr]
+ mkdocs/tests/config/config_tests.py:224:55: error: Expression type contains "Any" (has type "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]]] | dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]]")  [no-any-expr]
- mkdocs/tests/config/config_tests.py:224:55: error: Expression type contains "Any" (has type "list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | dict[str, None | Locale]")  [no-any-expr]
+ mkdocs/tests/config/config_tests.py:224:55: error: Expression type contains "Any" (has type "list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None] | list[Untyped | str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | dict[str, None | Locale]")  [no-any-expr]

scipy (https://github.com/scipy/scipy)
- scipy/stats/_axis_nan_policy.py:224:34: error: Expression type contains "Any" (has type "finfo[floating[Any | _64Bit]] | iinfo[Any | floating[_64Bit]]")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:224:34: error: Expression type contains "Any" (has type "finfo[floating[_64Bit | Any]] | iinfo[Any | floating[_64Bit]]")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:224:34: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:224:34: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:224:51: error: Expression type contains "Any" (has type "finfo[floating[Any | _64Bit]] | iinfo[Any | floating[_64Bit]]")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:224:51: error: Expression type contains "Any" (has type "finfo[floating[_64Bit | Any]] | iinfo[Any | floating[_64Bit]]")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:224:51: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:224:51: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:227:16: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:227:16: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:229:11: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:229:11: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:229:11: error: Expression type contains "Any" (has type "floating[Any | _64Bit]")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:229:11: error: Expression type contains "Any" (has type "floating[_64Bit | Any]")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:229:22: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:229:22: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:231:33: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:231:33: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:232:38: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:232:38: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:250:28: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:250:28: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:253:12: error: Expression type contains "Any" (has type "(list[Untyped], floating[Any | _64Bit] | int)")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:253:12: error: Expression type contains "Any" (has type "(list[Untyped], floating[_64Bit | Any] | int)")  [no-any-expr]
- scipy/stats/_axis_nan_policy.py:253:25: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int")  [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:253:25: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int")  [no-any-expr]
- scipy/fft/tests/test_backend.py:56:49: error: Expression type contains "Any" (has type "zip[(None | partial[Any (from error)], 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[Any, dtype[floating[_64Bit]]]=...) -> ndarray[Any, dtype[floating[_64Bit]]] | 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[Any, dtype[complexfloating[_64Bit, _64Bit]]]=...) -> ndarray[Any, dtype[complexfloating[_64Bit, _64Bit]]] | partial[Any (from error)] | 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[Any, dtype[complexfloating[_64Bit, _64Bit]]]=...) -> ndarray[Any, dtype[complexfloating[_64Bit, _64Bit]]] | partial[None] | def (a: _SupportsArray[dtype[numpy.bool] | dtype[number[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool] | dtype[number[Any]]]] | bool | int | float | complex | _NestedSequence[bool | int | float | complex], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[Any, dtype[floating[_64Bit]]]=...) -> ndarray[Any, dtype[floating[_64Bit]]] | 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], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[Any, dtype[floating[_64Bit]]]=...) -> ndarray[Any, dtype[floating[_64Bit]]], _MockFunction)]")  [no-any-expr]
+ scipy/fft/tests/test_backend.py:56:49: error: Expression type contains "Any" (has type "zip[(None | partial[Any (from error)], 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[Any, dtype[complexfloating[_64Bit, _64Bit]]]=...) -> ndarray[Any, dtype[complexfloating[_64Bit, _64Bit]]] | 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[Any, dtype[floating[_64Bit]]]=...) -> ndarray[Any, dtype[floating[_64Bit]]] | 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[Any, dtype[complexfloating[_64Bit, _64Bit]]]=...) -> ndarray[Any, dtype[complexfloating[_64Bit, _64Bit]]] | 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], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[Any, dtype[floating[_64Bit]]]=...) -> ndarray[Any, dtype[floating[_64Bit]]] | partial[None] | def (a: _SupportsArray[dtype[numpy.bool] | dtype[number[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool] | dtype[number[Any]]]] | bool | int | float | complex | _NestedSequence[bool | int | float | complex], n: None | int=..., axis: int=..., norm: None | 'backward' | 'ortho' | 'forward'=..., out: None | ndarray[Any, dtype[floating[_64Bit]]]=...) -> ndarray[Any, dtype[floating[_64Bit]]] | partial[Any (from error)], _MockFunction)]")  [no-any-expr]
- scipy/optimize/tests/test_optimize.py:1016:24: error: Incompatible types in assignment (expression has type "BFGS | Any (from error)", variable has type "type[BFGS] | str")  [assignment]
+ scipy/optimize/tests/test_optimize.py:1016:24: error: Incompatible types in assignment (expression has type "Any (from error) | BFGS", variable has type "str | type[BFGS]")  [assignment]
- 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 "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 "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: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: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: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 "None | int | Any | str")  [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 "Any | None | str | int")  [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: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: Expression type contains "Any" (has type "None | int | Any | str")  [no-any-expr]
- 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: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: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: Expression type contains "Any" (has type "None | int | Any | str")  [no-any-expr]
- 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: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: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: Expression type contains "Any" (has type "None | int | Any | str")  [no-any-expr]
- 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: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: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: Expression type contains "Any" (has type "None | int | Any | str")  [no-any-expr]
- 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: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: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:27: 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:37: 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:46: 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_short_time_fft.py:435:58: error: Expression type contains "Any" (has type "None | int | Any | str")  [no-any-expr]
- scipy/signal/tests/test_filter_design.py:659:9: error: Expression type contains "Any" (has type "(list[float | int] | Any, 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 "(list[float | int] | Any, 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[(list[float | int] | Any, 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[(list[float | int] | Any, list[float | int], list[complex] | list[float])]")  [no-any-expr]

@KotlinIsland KotlinIsland marked this pull request as ready for review December 4, 2024 22:58
@KotlinIsland KotlinIsland merged commit 33645d9 into master Dec 4, 2024
18 of 19 checks passed
@KotlinIsland KotlinIsland deleted the fix-userx branch December 4, 2024 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant