-
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 allow #710
Draft
KotlinIsland
wants to merge
4
commits into
master
Choose a base branch
from
baseline-allow
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
baseline allow #710
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.
KotlinIsland
force-pushed
the
baseline-allow
branch
2 times, most recently
from
July 21, 2024 08:43
5e32490
to
b3a05d7
Compare
This comment has been minimized.
This comment has been minimized.
KotlinIsland
force-pushed
the
baseline-allow
branch
2 times, most recently
from
July 21, 2024 23:13
18a17fb
to
1924a6c
Compare
This comment has been minimized.
This comment has been minimized.
KotlinIsland
force-pushed
the
baseline-allow
branch
from
July 23, 2024 15:07
d4675ca
to
b73b42f
Compare
This comment has been minimized.
This comment has been minimized.
for more information, see https://pre-commit.ci
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:708:28: error: Expression type contains "Any" (has type "map[reversed[int | Any]]") [no-any-expr]
+ arviz/data/inference_data.py:708:28: error: Expression type contains "Any" (has type "map[reversed[Any | int]]") [no-any-expr]
- arviz/data/inference_data.py:708:28: error: Argument 1 to "dict" has incompatible type "map[reversed[int | Any]]"; expected "Iterable[(Never, Never)]" [arg-type]
+ arviz/data/inference_data.py:708:28: error: Argument 1 to "dict" has incompatible type "map[reversed[Any | int]]"; expected "Iterable[(Never, Never)]" [arg-type]
scipy (https://github.com/scipy/scipy)
- scipy/stats/_axis_nan_policy.py:220: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:220: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:220:34: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:220:34: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:220: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:220: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:220:51: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:220:51: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:223:16: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:223:16: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:225:11: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:225:11: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:225:11: error: Expression type contains "Any" (has type "floating[Any | _64Bit]") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:225:11: error: Expression type contains "Any" (has type "floating[_64Bit | Any]") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:225:22: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:225:22: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:227:33: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:227:33: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:228:38: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:228:38: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:246:28: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:246:28: error: Expression type contains "Any" (has type "floating[_64Bit | Any] | int") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:249:12: error: Expression type contains "Any" (has type "(list[Untyped], floating[Any | _64Bit] | int)") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:249:12: error: Expression type contains "Any" (has type "(list[Untyped], floating[_64Bit | Any] | int)") [no-any-expr]
- scipy/stats/_axis_nan_policy.py:249:25: error: Expression type contains "Any" (has type "floating[Any | _64Bit] | int") [no-any-expr]
+ scipy/stats/_axis_nan_policy.py:249: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[(partial[Any (from error)] | None, def (a: _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 (a: _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[None] | def (a: _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: _SupportsArray[dtype[numpy.bool | number[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool | 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 (a: _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[Any (from error)] | def (x: Untyped, s: Untyped=..., axes: Untyped=..., norm: Untyped=..., overwrite_x: bool=..., workers: Untyped=..., *, plan: Untyped = ...) -> None, _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 (a: _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: _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]]] | def (a: _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 (a: _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 (x: Untyped, s: Untyped=..., axes: Untyped=..., norm: Untyped=..., overwrite_x: bool=..., workers: Untyped=..., *, plan: Untyped = ...) -> None | def (a: _SupportsArray[dtype[numpy.bool | number[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool | 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[None], _MockFunction)]") [no-any-expr]
- scipy/optimize/tests/test_optimize.py:1000:24: error: Incompatible types in assignment (expression has type "Any (from error) | BFGS", variable has type "str | type[BFGS]") [assignment]
+ scipy/optimize/tests/test_optimize.py:1000:24: error: Incompatible types in assignment (expression has type "BFGS | Any (from error)", variable has type "type[BFGS] | str") [assignment]
- scipy/signal/tests/test_short_time_fft.py:416:5: error: Expression type contains "Any" (has type "tuple[Any | None | int | str, ...]") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:416:5: error: Expression type contains "Any" (has type "tuple[None | str | int | Any, ...]") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:416:5: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:416:5: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:416:46: error: Expression type contains "Any" (has type "product[tuple[Any | None | int | str, ...]]") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:416:46: error: Expression type contains "Any" (has type "product[tuple[None | str | int | Any, ...]]") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:417:12: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:417:12: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:417:12: error: Expression type contains "Any" (has type "bool | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:417:38: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:417:38: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:419:51: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:419:51: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:419:51: error: Argument "fft_mode" to "ShortTimeFFT" has incompatible type "Any | None | int | str"; expected "'twosided' | 'centered' | 'onesided' | 'onesided2X'" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:419:51: error: Argument "fft_mode" to "ShortTimeFFT" has incompatible type "None | str | int | Any"; expected "'twosided' | 'centered' | 'onesided' | 'onesided2X'" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:419:63: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:419:63: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:419:63: error: Argument "mfft" to "ShortTimeFFT" has incompatible type "Any | None | int | str"; expected "int | None" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:419:63: error: Argument "mfft" to "ShortTimeFFT" has incompatible type "None | str | int | Any"; expected "int | None" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:420:37: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:420:37: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:420:37: error: Argument "scale_to" to "ShortTimeFFT" has incompatible type "Any | None | int | str"; expected "'magnitude' | 'psd' | None" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:420:37: error: Argument "scale_to" to "ShortTimeFFT" has incompatible type "None | str | int | Any"; expected "'magnitude' | 'psd' | None" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:420:58: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:420:58: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:420:58: error: Argument "phase_shift" to "ShortTimeFFT" has incompatible type "Any | None | int | str"; expected "int | None" [arg-type]
+ scipy/signal/tests/test_short_time_fft.py:420:58: error: Argument "phase_shift" to "ShortTimeFFT" has incompatible type "None | str | int | Any"; expected "int | None" [arg-type]
- scipy/signal/tests/test_short_time_fft.py:424:25: error: Expression type contains "Any" (has type "Any | None | int | str") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:424:25: error: Expression type contains "Any" (has type "None | str | int | Any") [no-any-expr]
- scipy/signal/tests/test_filter_design.py:652: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:652: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:652: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:652:30: error: Expression type contains "Any" (has type "zip[(Any | list[float | int], list[float | int], list[complex] | list[float])]") [no-any-expr]
openlibrary (https://github.com/internetarchive/openlibrary)
- openlibrary/plugins/upstream/addbook.py:88:17: error: Expression type contains "Any" (has type "(str | Untyped, str | Untyped)") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:88:17: error: Expression type contains "Any" (has type "(Untyped | str, Untyped | str)") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:88:17: error: Expression type contains "Any" (has type "str | Untyped") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:88:17: error: Expression type contains "Any" (has type "Untyped | str") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:89:21: error: Expression type contains "Any" (has type "str | Untyped") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:89:21: error: Expression type contains "Any" (has type "Untyped | str") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:89:26: error: Expression type contains "Any" (has type "str | Untyped") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:89:26: error: Expression type contains "Any" (has type "Untyped | str") [no-any-expr]
- openlibrary/plugins/upstream/addbook.py:90:26: error: Expression type contains "Any" (has type "zip[(str | Untyped, str | Untyped)]") [no-any-expr]
+ openlibrary/plugins/upstream/addbook.py:90:26: error: Expression type contains "Any" (has type "zip[(Untyped | str, Untyped | str)]") [no-any-expr]
ibis (https://github.com/ibis-project/ibis)
- ibis/expr/api.py:489:37: error: Expression type contains "Any" (has type "zip[(Any (from unimported type), str | Any)]") [no-any-expr]
+ ibis/expr/api.py:489:37: error: Expression type contains "Any" (has type "zip[(Any (from unimported type), Any | str)]") [no-any-expr]
- ibis/backends/tests/test_numeric.py:1041:17: error: Expression type contains "Any" (has type "list[int | Any]") [no-any-expr]
+ ibis/backends/tests/test_numeric.py:1041:17: error: Expression type contains "Any" (has type "list[Any | int]") [no-any-expr]
- ibis/backends/tests/test_numeric.py:1041:22: error: Expression type contains "Any" (has type "map[int | Any]") [no-any-expr]
+ ibis/backends/tests/test_numeric.py:1041:22: error: Expression type contains "Any" (has type "map[Any | int]") [no-any-expr]
- ibis/backends/tests/test_numeric.py:1059:17: error: Expression type contains "Any" (has type "list[int | Any]") [no-any-expr]
+ ibis/backends/tests/test_numeric.py:1059:17: error: Expression type contains "Any" (has type "list[Any | int]") [no-any-expr]
- ibis/backends/tests/test_numeric.py:1059:22: error: Expression type contains "Any" (has type "map[int | Any]") [no-any-expr]
+ ibis/backends/tests/test_numeric.py:1059:22: error: Expression type contains "Any" (has type "map[Any | int]") [no-any-expr]
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[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, 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[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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | 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, 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[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[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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | 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[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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | 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, 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[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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | 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, None | Locale] | 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]]") [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] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | list[Untyped | 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[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[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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | 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, None | Locale] | 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]]") [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] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | list[Untyped | 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[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[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, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | 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, None | Locale] | 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]]") [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] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]] | list[Untyped | str] | dict[str, None | Locale]") [no-any-expr]
scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/neighbors/tests/test_neighbors.py:82:5: error: Expression type contains "Any" (has type "set[str | Any (from unimported type)]") [no-any-expr]
+ sklearn/neighbors/tests/test_neighbors.py:82:5: error: Expression type contains "Any" (has type "set[Any (from unimported type) | str]") [no-any-expr]
- sklearn/neighbors/tests/test_neighbors.py:82:23: error: Expression type contains "Any" (has type "map[set[str | Any (from unimported type)]]") [no-any-expr]
+ sklearn/neighbors/tests/test_neighbors.py:82: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[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[int]] | 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], list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any | list[float] | list[int | float] | list[list[int]] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]])]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "(list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[int]] | 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], list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any | list[float] | list[int | float] | list[list[int]] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]])") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:320:22: error: Expression type contains "Any" (has type "product[(list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float], list[list[Any (from error)]] | ndarray[Any, dtype[Any]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | Any (from error) | list[list[int]] | _NotAnArray | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[list[str]])]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "(list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float], list[list[Any (from error)]] | ndarray[Any, dtype[Any]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | Any (from error) | list[list[int]] | _NotAnArray | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[list[str]])") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[int]] | 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 "list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[Any, 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[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any | list[float] | list[int | float] | list[list[int]] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:324:39: error: Expression type contains "Any" (has type "product[(list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[int]] | 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], list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any | list[float] | list[int | float] | list[list[int]] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]])]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:5: error: Expression type contains "Any" (has type "list[list[Any (from error)]] | ndarray[Any, dtype[Any]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | Any (from error) | list[list[int]] | _NotAnArray | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[list[str]]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:324:39: error: Expression type contains "Any" (has type "product[(list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[list[int]] | list[list[str]] | list[float] | list[int | float], list[list[Any (from error)]] | ndarray[Any, dtype[Any]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | Any (from error) | list[list[int]] | _NotAnArray | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[list[str]])]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:326:27: error: Expression type contains "Any" (has type "list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any | list[float] | list[int | float] | list[list[int]] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:326:27: error: Expression type contains "Any" (has type "list[list[Any (from error)]] | ndarray[Any, dtype[Any]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | Any (from error) | list[list[int]] | _NotAnArray | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[list[str]]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:326:41: error: Expression type contains "Any" (has type "list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[int]] | 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 "list[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[Any, 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[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[int]] | 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[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any (from error) | list[list[Any (from error)]] | list[()] | list[ndarray[Any, 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[int] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | _NotAnArray | list[str] | Any | list[float] | list[int | float] | list[list[int]] | list[list[str]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]]") [no-any-expr]
+ sklearn/utils/tests/test_multiclass.py:328:41: error: Expression type contains "Any" (has type "list[list[Any (from error)]] | ndarray[Any, dtype[Any]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | Any (from error) | list[list[int]] | _NotAnArray | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[list[str]]") [no-any-expr]
sympy (https://github.com/sympy/sympy)
- sympy/solvers/solvers.py:3633:38: error: Expression type contains "Any" (has type "dict[Dummy | Any, Any]") [no-any-expr]
+ sympy/solvers/solvers.py:3633:38: error: Expression type contains "Any" (has type "dict[Any | Dummy, Any]") [no-any-expr]
- sympy/solvers/solvers.py:3633:43: error: Expression type contains "Any" (has type "zip[(Dummy | Any, Any)]") [no-any-expr]
+ sympy/solvers/solvers.py:3633:43: error: Expression type contains "Any" (has type "zip[(Any | Dummy, Any)]") [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 "((int, int) | Point | list[int], (int, int) | list[int] | Point)", variable has type "(int, int) | list[int] | Point") [assignment]
|
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.