-
Notifications
You must be signed in to change notification settings - Fork 5
helpful-string
improvements
#603
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
Draft
KotlinIsland
wants to merge
1
commit into
master
Choose a base branch
from
helpful-string
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment has been minimized.
This comment has been minimized.
0f9cfab
to
95894de
Compare
This comment has been minimized.
This comment has been minimized.
7f26ded
to
0113f61
Compare
Diff from mypy_primer, showing the effect of this PR on open source code: streamlit (https://github.com/streamlit/streamlit)
- lib/streamlit/testing/v1/element_tree.py:1100:34: error: The type "T@SelectSlider" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ lib/streamlit/testing/v1/element_tree.py:1100:34: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
psycopg (https://github.com/psycopg/psycopg)
- psycopg/psycopg/transaction.py:136:26: error: The type "ConnectionType@BaseTransaction" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
bokeh (https://github.com/bokeh/bokeh)
- src/bokeh/core/property/numeric.py:134:41: error: The type "T@Interval" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ src/bokeh/core/property/numeric.py:134:41: error: The type "int | float" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
pandas (https://github.com/pandas-dev/pandas)
- pandas/core/computation/pytables.py:308: error: The type "Self" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- pandas/core/computation/pytables.py:329: error: The type "Self" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- pandas/core/computation/pytables.py:370: error: The type "Self" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
boostedblob (https://github.com/hauntsaninja/boostedblob)
- boostedblob/copying.py:168:22: error: The type "CloudPathT@cloud_copyfile" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ boostedblob/copying.py:168:22: error: The type "boostedblob.path.CloudPath" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
rich (https://github.com/Textualize/rich)
- rich/prompt.py:160:21: error: The type "DefaultType@render_default" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ rich/prompt.py:160:21: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
discord.py (https://github.com/Rapptz/discord.py)
- version: 2.6.0+dev.547f363847c02cab776064295bdadd55fefa79d3
+ version: 2.6.0+dev.42453290308b7cff0d4d1cc569bee0ed51545bd4
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/linalg/tests/test_procrustes.py:71:9: error: Expression type contains "Any" (has type "(Any | None | ndarray[Any, dtype[floating[_64Bit]]], Any | None | ndarray[Any, dtype[floating[_64Bit]]])") [no-any-expr]
+ scipy/linalg/tests/test_procrustes.py:71:9: error: Expression type contains "Any" (has type "(None | ndarray[Any, dtype[floating[_64Bit]]] | Any, None | ndarray[Any, dtype[floating[_64Bit]]] | Any)") [no-any-expr]
- scipy/linalg/tests/test_procrustes.py:71:9: error: Expression type contains "Any" (has type "Any | None | ndarray[Any, dtype[floating[_64Bit]]]") [no-any-expr]
+ scipy/linalg/tests/test_procrustes.py:71:9: error: Expression type contains "Any" (has type "None | ndarray[Any, dtype[floating[_64Bit]]] | Any") [no-any-expr]
- scipy/linalg/tests/test_procrustes.py:71:21: error: Expression type contains "Any" (has type "product[(Any | None | ndarray[Any, dtype[floating[_64Bit]]], Any | None | ndarray[Any, dtype[floating[_64Bit]]])]") [no-any-expr]
+ scipy/linalg/tests/test_procrustes.py:71:21: error: Expression type contains "Any" (has type "product[(None | ndarray[Any, dtype[floating[_64Bit]]] | Any, None | ndarray[Any, dtype[floating[_64Bit]]] | Any)]") [no-any-expr]
- scipy/linalg/tests/test_procrustes.py:72:42: error: Expression type contains "Any" (has type "Any | None | ndarray[Any, dtype[floating[_64Bit]]]") [no-any-expr]
+ scipy/linalg/tests/test_procrustes.py:72:42: error: Expression type contains "Any" (has type "None | ndarray[Any, dtype[floating[_64Bit]]] | Any") [no-any-expr]
- scipy/linalg/tests/test_procrustes.py:72:45: error: Expression type contains "Any" (has type "Any | None | ndarray[Any, dtype[floating[_64Bit]]]") [no-any-expr]
+ scipy/linalg/tests/test_procrustes.py:72:45: error: Expression type contains "Any" (has type "None | ndarray[Any, dtype[floating[_64Bit]]] | Any") [no-any-expr]
- scipy/fft/tests/test_backend.py:56:49: error: Expression type contains "Any" (has type "zip[(None | partial[Any (from error)], 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[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[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], 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 (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]]], _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 (x: Untyped, s: Untyped=..., axes: Untyped=..., norm: Untyped=..., overwrite_x: bool=..., workers: Untyped=..., *, plan: Untyped = ...) -> 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], 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 (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[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], 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]]], _MockFunction)]") [no-any-expr]
- scipy/optimize/tests/test_optimize.py:999: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:999: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 | str | int, ...]") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:416:5: error: Expression type contains "Any" (has type "tuple[None | int | str | Any, ...]") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:416:5: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:416:5: error: Expression type contains "Any" (has type "None | int | str | 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 | str | int, ...]]") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:416:46: error: Expression type contains "Any" (has type "product[tuple[None | int | str | Any, ...]]") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:417:12: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:417:12: error: Expression type contains "Any" (has type "None | int | str | 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 | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:417:38: error: Expression type contains "Any" (has type "None | int | str | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:419:51: error: Expression type contains "Any" (has type "Any | None | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:419:51: error: Expression type contains "Any" (has type "None | int | str | 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 | str | int"; 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 | int | str | 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 | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:419:63: error: Expression type contains "Any" (has type "None | int | str | Any") [no-any-expr]
- scipy/signal/tests/test_short_time_fft.py:419: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:419:63: error: Argument "mfft" to "ShortTimeFFT" has incompatible type "None | int | str | 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 | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:420:37: error: Expression type contains "Any" (has type "None | int | str | 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 | str | int"; 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 | int | str | 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 | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:420:58: error: Expression type contains "Any" (has type "None | int | str | 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 | str | int"; 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 | int | str | 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 | str | int") [no-any-expr]
+ scipy/signal/tests/test_short_time_fft.py:424:25: error: Expression type contains "Any" (has type "None | int | str | Any") [no-any-expr]
- scipy/signal/tests/test_filter_design.py:652: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: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 "list[float | 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]") [no-any-expr]
- scipy/signal/tests/test_filter_design.py:652: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: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:656:26: error: Expression type contains "Any" (has type "list[float | int] | Any") [no-any-expr]
+ scipy/signal/tests/test_filter_design.py:656:26: error: Expression type contains "Any" (has type "Any | list[float | int]") [no-any-expr]
- scipy/signal/tests/test_filter_design.py:661:26: error: Expression type contains "Any" (has type "list[float | int] | Any") [no-any-expr]
+ scipy/signal/tests/test_filter_design.py:661:26: error: Expression type contains "Any" (has type "Any | list[float | int]") [no-any-expr]
- scipy/signal/tests/test_filter_design.py:664:26: error: Expression type contains "Any" (has type "list[float | int] | Any") [no-any-expr]
+ scipy/signal/tests/test_filter_design.py:664:26: error: Expression type contains "Any" (has type "Any | list[float | int]") [no-any-expr]
kopf (https://github.com/nolar/kopf)
- kopf/_cogs/aiokits/aioenums.py:43:16: error: The type "FlagReasonT@FlagSetter" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- kopf/_cogs/aiokits/aioenums.py:83:16: error: The type "FlagReasonT@FlagWaiter" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
materialize (https://github.com/MaterializeInc/materialize)
- misc/python/materialize/feature_benchmark/comparator.py:41:20: error: The type "T@Comparator" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ misc/python/materialize/feature_benchmark/comparator.py:41:20: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
- misc/python/materialize/feature_benchmark/comparator.py:50:20: error: The type "T@Comparator" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ misc/python/materialize/feature_benchmark/comparator.py:50:20: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
xarray (https://github.com/pydata/xarray)
- xarray/core/extension_array.py:78:29: error: The type "T_ExtensionArray@PandasExtensionArray" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- xarray/core/variable.py:2398:18: error: Expression type contains "Any" (has type "(str | Any, Any)") [no-any-expr]
+ xarray/core/variable.py:2398:18: error: Expression type contains "Any" (has type "(Any | str, Any)") [no-any-expr]
- xarray/core/variable.py:2400:25: error: Expression type contains "Any" (has type "zip[(str | Any, Any)]") [no-any-expr]
+ xarray/core/variable.py:2400:25: error: Expression type contains "Any" (has type "zip[(Any | str, Any)]") [no-any-expr]
- xarray/core/variable.py:2584:17: error: The type "Self" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
vision (https://github.com/pytorch/vision)
- torchvision/models/_utils.py:214:21: error: The type "W@handle_legacy_interface" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- torchvision/models/_utils.py:238:30: error: The type "V@_ovewrite_named_param" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ torchvision/models/_utils.py:238:30: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
- torchvision/models/_utils.py:246:30: error: The type "V@_ovewrite_value_param" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ torchvision/models/_utils.py:246:30: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
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[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]])") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:215:9: error: Expression type contains "Any" (has type "(dict[str, str] | dict[str, dict[str, str]] | dict[str, dict[str, None | Untyped]] | dict[str, dict[str, str | Untyped]] | dict[str, dict[str, str | list[str] | bool]], dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]])") [no-any-expr]
- mkdocs/tests/config/config_tests.py:215:9: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[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]]") [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[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]])]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:215:40: error: Expression type contains "Any" (has type "zip[(dict[str, str] | dict[str, dict[str, str]] | dict[str, dict[str, None | Untyped]] | dict[str, dict[str, str | Untyped]] | dict[str, dict[str, str | list[str] | bool]], dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]])]") [no-any-expr]
- mkdocs/tests/config/config_tests.py:222:54: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[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]]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:222:54: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]]") [no-any-expr]
- mkdocs/tests/config/config_tests.py:223:70: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[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]]") [no-any-expr]
+ mkdocs/tests/config/config_tests.py:223:70: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[Untyped | str] | list[str] | dict[str, str | Locale | bool | dict[str, bool | None] | list[Any (from error)] | int | None]] | dict[str, list[str] | dict[str, str | bool | Locale | dict[str, None] | list[Any (from error)] | int | dict[str, int]]]") [no-any-expr]
- mkdocs/tests/config/config_tests.py:224:55: error: Expression type contains "Any" (has type "dict[str, list[Untyped | str] | list[str] | dict[str, None | Locale]] | dict[str, list[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]]") [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]
graphql-core (https://github.com/graphql-python/graphql-core)
- src/graphql/type/definition.py:1477:16: error: The type "GT_co@GraphQLList" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ src/graphql/type/definition.py:1477:16: error: The type "graphql.type.definition.GraphQLType" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- src/graphql/type/definition.py:1520:16: error: The type "GNT_co@GraphQLNonNull" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
optuna (https://github.com/optuna/optuna)
- optuna/study/_dataframe.py:60:21: error: Expression type contains "Any" (has type "enumerate[None | Any] | zip[(str, Any | None)]") [no-any-expr]
+ optuna/study/_dataframe.py:60:21: error: Expression type contains "Any" (has type "enumerate[None | Any] | zip[(str, None | Any)]") [no-any-expr]
- optuna/study/_dataframe.py:62:26: error: Expression type contains "Any" (has type "zip[(str, Any | None)]") [no-any-expr]
+ optuna/study/_dataframe.py:62:26: error: Expression type contains "Any" (has type "zip[(str, None | Any)]") [no-any-expr]
- optuna/study/_dataframe.py:64:17: error: Expression type contains "Any" (has type "(int, None | Any) | (str, Any | None)") [no-any-expr]
+ optuna/study/_dataframe.py:64:17: error: Expression type contains "Any" (has type "(int, None | Any) | (str, None | Any)") [no-any-expr]
- optuna/study/_dataframe.py:64:17: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
- optuna/study/_dataframe.py:64:50: error: Expression type contains "Any" (has type "enumerate[None | Any] | zip[(str, Any | None)]") [no-any-expr]
+ optuna/study/_dataframe.py:64:50: error: Expression type contains "Any" (has type "enumerate[None | Any] | zip[(str, None | Any)]") [no-any-expr]
trio (https://github.com/python-trio/trio)
- src/trio/_file_io.py:497:13: error: The type "FileT@wrap_file" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ src/trio/_file_io.py:497:13: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
- src/trio/_core/_tests/test_parking_lot.py:92:23: error: The type "T@cancellable_waiter" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ src/trio/_core/_tests/test_parking_lot.py:92:23: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
- src/trio/_core/_tests/test_parking_lot.py:96:27: error: The type "T@cancellable_waiter" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- src/trio/_core/_tests/test_parking_lot.py:98:27: error: The type "T@cancellable_waiter" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ src/trio/_core/_tests/test_parking_lot.py:96:27: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
+ src/trio/_core/_tests/test_parking_lot.py:98:27: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
pandera (https://github.com/pandera-dev/pandera)
- pandera/api/checks.py:360:17: error: The type "T@in_range" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ pandera/api/checks.py:360:17: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
- pandera/api/checks.py:366:19: error: The type "T@in_range" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ pandera/api/checks.py:366:19: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
- pandera/api/dataframe/container.py:643:30: error: The type "Self" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- pandera/api/dataframe/components.py:213:29: error: The type "TComponentSchemaBase@_pydantic_validate" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
ibis (https://github.com/ibis-project/ibis)
- ibis/expr/datatypes/core.py: note: In member "_pretty_piece" of class "Array":
- ibis/expr/datatypes/core.py:910:16: error: The type "T@Array" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ibis/expr/datatypes/core.py: note: In member "_pretty_piece" of class "Map":
- ibis/expr/datatypes/core.py:929:16: error: The type "K@Map" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ibis/expr/datatypes/core.py:929:16: error: The type "V@Map" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- 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:17: error: Expression type contains "Any" (has type "list[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:1041:22: error: Expression type contains "Any" (has type "map[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:17: error: Expression type contains "Any" (has type "list[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]
+ ibis/backends/tests/test_numeric.py:1059:22: error: Expression type contains "Any" (has type "map[int | Any]") [no-any-expr]
jax (https://github.com/google/jax)
- jax/_src/ad_util.py:77:21: error: The type "T@_stop_gradient_impl" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ jax/_src/ad_util.py:77:21: error: The string for "object" isn't helpful in a user-facing or semantic string [helpful-string]
- jax/example_libraries/stax.py:306:5: error: Expression type contains "Any" (has type "(Any, Any (unannotated), Any | None)") [no-any-expr]
+ jax/example_libraries/stax.py:306:5: error: Expression type contains "Any" (has type "(Any, Any (unannotated), None | Any)") [no-any-expr]
- jax/example_libraries/stax.py:306:5: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
+ jax/example_libraries/stax.py:306:5: error: Expression type contains "Any" (has type "None | Any") [no-any-expr]
- jax/example_libraries/stax.py:306:28: error: Expression type contains "Any" (has type "zip[(Any, Any (unannotated), Any | None)]") [no-any-expr]
+ jax/example_libraries/stax.py:306:28: error: Expression type contains "Any" (has type "zip[(Any, Any (unannotated), None | Any)]") [no-any-expr]
- jax/example_libraries/stax.py:307:39: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
+ jax/example_libraries/stax.py:307:39: error: Expression type contains "Any" (has type "None | Any") [no-any-expr]
- jax/example_libraries/stax.py:336:12: error: Expression type contains "Any" (has type "(Any, Any (unannotated), Any (unannotated), Any | None)") [no-any-expr]
+ jax/example_libraries/stax.py:336:12: error: Expression type contains "Any" (has type "(Any, Any (unannotated), Any (unannotated), None | Any)") [no-any-expr]
- jax/example_libraries/stax.py:336:12: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
+ jax/example_libraries/stax.py:336:12: error: Expression type contains "Any" (has type "None | Any") [no-any-expr]
- jax/example_libraries/stax.py:336:25: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
+ jax/example_libraries/stax.py:336:25: error: Expression type contains "Any" (has type "None | Any") [no-any-expr]
- jax/example_libraries/stax.py:336:56: error: Expression type contains "Any" (has type "zip[(Any, Any (unannotated), Any (unannotated), Any | None)]") [no-any-expr]
+ jax/example_libraries/stax.py:336:56: error: Expression type contains "Any" (has type "zip[(Any, Any (unannotated), Any (unannotated), None | Any)]") [no-any-expr]
freqtrade (https://github.com/freqtrade/freqtrade)
- freqtrade/strategy/strategy_wrapper.py:30:28: error: The type "F@strategy_safe_wrapper" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ freqtrade/strategy/strategy_wrapper.py:30:28: error: The type "(*Any, **Any) -> Any" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- freqtrade/strategy/strategy_wrapper.py:35:30: error: The type "F@strategy_safe_wrapper" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ freqtrade/strategy/strategy_wrapper.py:35:30: error: The type "(*Any, **Any) -> Any" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
- src/hydra_zen/_launch.py:96:13: error: The type "T@value_check" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
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]
- arviz/plots/backends/matplotlib/energyplot.py:62:14: error: Expression type contains "Any" (has type "zip[(Any (unannotated), Any (unannotated), str | 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 | 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 | 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 | 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]
Tanjun (https://github.com/FasterSpeeding/Tanjun)
- tanjun/commands/slash.py:1765:30: error: The type "_SlashCallbackSigT@SlashCommand" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
+ tanjun/commands/slash.py:1765:30: error: The type "(tanjun.abc.SlashContext, *Any, **Any) -> typing.Coroutine[Any, Any, None]" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:5: error: Expression type contains "Any" (has type "(ndarray[Any, dtype[signedinteger[Any]]] | Untyped, ndarray[Any, dtype[signedinteger[Any]]] | Untyped)") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:5: error: Expression type contains "Any" (has type "(Untyped | ndarray[Any, dtype[signedinteger[Any]]], Untyped | ndarray[Any, dtype[signedinteger[Any]]])") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:5: error: Expression type contains "Any" (has type "ndarray[Any, dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:5: error: Expression type contains "Any" (has type "Untyped | ndarray[Any, dtype[signedinteger[Any]]]") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:19: error: Expression type contains "Any" (has type "product[(ndarray[Any, dtype[signedinteger[Any]]] | Untyped, ndarray[Any, dtype[signedinteger[Any]]] | Untyped)]") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1266:19: error: Expression type contains "Any" (has type "product[(Untyped | ndarray[Any, dtype[signedinteger[Any]]], Untyped | ndarray[Any, dtype[signedinteger[Any]]])]") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1267:12: error: Expression type contains "Any" (has type "ndarray[Any, dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1267:12: error: Expression type contains "Any" (has type "Untyped | ndarray[Any, dtype[signedinteger[Any]]]") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1267:24: error: Expression type contains "Any" (has type "ndarray[Any, dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1267:24: error: Expression type contains "Any" (has type "Untyped | ndarray[Any, dtype[signedinteger[Any]]]") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1270:13: error: Expression type contains "Any" (has type "ndarray[Any, dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1270:13: error: Expression type contains "Any" (has type "Untyped | ndarray[Any, dtype[signedinteger[Any]]]") [no-any-expr]
- sklearn/metrics/tests/test_pairwise_distances_reduction.py:1271:13: error: Expression type contains "Any" (has type "ndarray[Any, dtype[signedinteger[Any]]] | Untyped") [no-any-expr]
+ sklearn/metrics/tests/test_pairwise_distances_reduction.py:1271:13: error: Expression type contains "Any" (has type "Untyped | ndarray[Any, dtype[signedinteger[Any]]]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:320:22: error: Expression type contains "Any" (has type "product[(list[list[int]] | list[list[str]] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[float] | list[int | float] | list[int] | 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] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | 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[int]] | list[list[str]] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[float] | list[int | float] | list[int] | 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] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | 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[int]] | list[list[str]] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[float] | list[int | float] | list[int] | 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[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | 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[list[int]] | list[list[str]] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[float] | list[int | float] | list[int] | 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] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | 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[(Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | ndarray[Any, dtype[floating[_32Bit]]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[float] | list[int | float] | list[list[str]], 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]] | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[list[int]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | Any (from error) | _NotAnArray | list[int] | list[str])]") [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 | ndarray[Any, dtype[floating[_32Bit]]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[float] | list[int | float] | list[list[str]], 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]] | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[list[int]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | Any (from error) | _NotAnArray | list[int] | list[str])") [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 | ndarray[Any, dtype[floating[_32Bit]]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[float] | list[int | float] | list[list[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]] | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[list[int]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | Any (from error) | _NotAnArray | list[int] | list[str]") [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 | ndarray[Any, dtype[floating[_32Bit]]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[float] | list[int | float] | list[list[str]], 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]] | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[list[int]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | Any (from error) | _NotAnArray | list[int] | list[str])]") [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[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | 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:41: error: Expression type contains "Any" (has type "list[list[int]] | list[list[str]] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[float] | list[int | float] | list[int] | 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]] | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[list[int]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | Any (from error) | _NotAnArray | list[int] | list[str]") [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 | ndarray[Any, dtype[floating[_32Bit]]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[float] | list[int | float] | list[list[str]]") [no-any-expr]
- sklearn/utils/tests/test_multiclass.py:328:27: error: Expression type contains "Any" (has type "list[list[int]] | list[list[str]] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | _NotAnArray | list[float] | list[int | float] | list[int] | 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[float] | list[int | float] | ndarray[Any, dtype[Any]] | ndarray[Any, dtype[floating[_32Bit]]] | Any (from error) | list[list[int]] | _NotAnArray | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[int] | 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:27: error: Expression type contains "Any" (has type "Any (from error) | list[list[int]] | ndarray[Any, dtype[Any]] | _NotAnArray | ndarray[Any, dtype[floating[_32Bit]]] | list[list[Any (from error)]] | list[()] | list[ndarray[Any, dtype[Any]]] | list[set[int]] | list[frozenset[int]] | list[dict[int, str]] | list[int] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | list[str] | list[float] | list[int | float] | list[list[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]] | list[float] | list[int | float] | ndarray[Any, dtype[floating[_32Bit]]] | list[list[int]] | list[list[str]] | ndarray[Any, dtype[signedinteger[_8Bit]]] | ndarray[Any, dtype[unsignedinteger[_8Bit]]] | Any (from error) | _NotAnArray | list[int] | list[str]") [no-any-expr]
- sklearn/tree/tests/test_tree.py:612:5: error: Expression type contains "Any" (has type "(None | int, Any (from omitted generics))") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:612:5: error: Expression type contains "Any" (has type "(int | None, Any (from omitted generics))") [no-any-expr]
- sklearn/tree/tests/test_tree.py:612:33: error: Expression type contains "Any" (has type "product[(None | int, Any (from omitted generics))]") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:612:33: error: Expression type contains "Any" (has type "product[(int | None, Any (from omitted generics))]") [no-any-expr]
- sklearn/tree/tests/test_tree.py:643:5: error: Expression type contains "Any" (has type "(None | int, Any (from omitted generics))") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:643:5: error: Expression type contains "Any" (has type "(int | None, Any (from omitted generics))") [no-any-expr]
- sklearn/tree/tests/test_tree.py:643:33: error: Expression type contains "Any" (has type "product[(None | int, Any (from omitted generics))]") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:643:33: error: Expression type contains "Any" (has type "product[(int | None, Any (from omitted generics))]") [no-any-expr]
- sklearn/tree/tests/test_tree.py:822:5: error: Expression type contains "Any" (has type "(None | int, Any (from omitted generics))") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:822:5: error: Expression type contains "Any" (has type "(int | None, Any (from omitted generics))") [no-any-expr]
- sklearn/tree/tests/test_tree.py:822:33: error: Expression type contains "Any" (has type "product[(None | int, Any (from omitted generics))]") [no-any-expr]
+ sklearn/tree/tests/test_tree.py:822:33: error: Expression type contains "Any" (has type "product[(int | None, Any (from omitted generics))]") [no-any-expr]
sympy (https://github.com/sympy/sympy)
- sympy/tensor/array/dense_ndim_array.py:74:40: error: Expression type contains "Any" (has type "def (x: Any (from error) | None, y: Any (unannotated)) -> Any (from error)") [no-any-expr]
+ sympy/tensor/array/dense_ndim_array.py:74:40: error: Expression type contains "Any" (has type "def (x: None | Any (from error), y: Any (unannotated)) -> Any (unannotated)") [no-any-expr]
+ sympy/tensor/array/dense_ndim_array.py:74:53: error: Expression has type "Any (unannotated)" [no-any-expr]
- sympy/tensor/array/dense_ndim_array.py:75:30: error: Unsupported operand types for * ("list[int]" and "Any (from error) | None") [operator]
+ sympy/tensor/array/dense_ndim_array.py:75:30: error: Unsupported operand types for * ("list[int]" and "None | Any (from error)") [operator]
- sympy/simplify/hyperexpand.py:908:23: error: Expression type contains "Any" (has type "def (s: Any (from error) | None, m: (Any (unannotated), Any (unannotated))) -> Any (from error)") [no-any-expr]
+ sympy/simplify/hyperexpand.py:908:23: error: Expression type contains "Any" (has type "def (s: None | Any (from error), m: (Any (unannotated), Any (unannotated))) -> Any (unannotated)") [no-any-expr]
+ sympy/simplify/hyperexpand.py:908:35: error: Expression has type "Any (unannotated)" [no-any-expr]
- sympy/simplify/hyperexpand.py:1985:13: note: Left operand is of type "Any (from error) | None"
+ sympy/simplify/hyperexpand.py:1985:13: note: Left operand is of type "None | Any (from error)"
- sympy/simplify/hyperexpand.py:1985:20: error: Expression type contains "Any" (has type "def (s: Any (from error) | None, m: (Any (from error), Any (unannotated))) -> Any (from error)") [no-any-expr]
+ sympy/simplify/hyperexpand.py:1985:20: error: Expression type contains "Any" (has type "def (s: None | Any (from error), m: (Any (from error), Any (unannotated))) -> Any (from error)") [no-any-expr]
- sympy/simplify/hyperexpand.py:1986:15: error: Item "int" of "Any (from error) | int" has no attribute "subs" [union-attr]
+ sympy/simplify/hyperexpand.py:1986:15: error: Item "int" of "int | Any (from error)" has no attribute "subs" [union-attr]
- sympy/physics/units/dimensions.py:505:38: error: Item "None" of "Any (from error) | None" has no attribute "row_join" [union-attr]
+ sympy/physics/units/dimensions.py:505:38: error: Item "None" of "None | Any (from error)" has no attribute "row_join" [union-attr]
- sympy/physics/units/dimensions.py:524:16: error: Item "None" of "Any (from error) | None" has no attribute "inv" [union-attr]
+ sympy/physics/units/dimensions.py:524:16: error: Item "None" of "None | Any (from error)" has no attribute "inv" [union-attr]
- sympy/physics/units/dimensions.py:524:36: error: Item "None" of "Any (from error) | None" has no attribute "row_join" [union-attr]
+ sympy/physics/units/dimensions.py:524:36: error: Item "None" of "None | Any (from error)" has no attribute "row_join" [union-attr]
- sympy/polys/agca/modules.py:1282:36: error: Item "None" of "Any (from error) | None" has no attribute "intersect" [union-attr]
+ sympy/polys/agca/modules.py:1282:36: error: Item "None" of "None | Any (from error)" has no attribute "intersect" [union-attr]
+ sympy/tensor/tensor.py:3647:12: error: Expression type contains "Any" (has type "Any (unannotated) | bool") [no-any-expr]
- sympy/tensor/tensor.py:4347:29: error: Expression type contains "Any" (has type "def (a: Any (from error) | None, b: Any (unannotated)) -> Any (from error)") [no-any-expr]
+ sympy/tensor/tensor.py:4347:29: error: Expression type contains "Any" (has type "def (a: None | Any (from error), b: Any (unannotated)) -> Any (unannotated)") [no-any-expr]
+ sympy/tensor/tensor.py:4347:42: error: Expression has type "Any (unannotated)" [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 "(list[int] | Point | (int, int), list[int] | Point | (int, int))", variable has type "(int, int) | list[int] | Point") [assignment]
- sympy/core/tests/test_arit.py:2439:5: error: Expression type contains "Any" (has type "tuple[Any (unannotated) | None | AccumulationBounds, ...]") [no-any-expr]
+ sympy/core/tests/test_arit.py:2439:5: error: Expression type contains "Any" (has type "tuple[AccumulationBounds | Any | None, ...]") [no-any-expr]
- sympy/core/tests/test_arit.py:2439:17: error: Expression type contains "Any" (has type "permutations[tuple[Any (unannotated) | None | AccumulationBounds, ...]]") [no-any-expr]
+ sympy/core/tests/test_arit.py:2439:17: error: Expression type contains "Any" (has type "permutations[tuple[AccumulationBounds | Any | None, ...]]") [no-any-expr]
- sympy/core/tests/test_arit.py:2440:18: error: Expression type contains "Any" (has type "tuple[Any (unannotated) | None | AccumulationBounds, ...]") [no-any-expr]
+ sympy/core/tests/test_arit.py:2440:18: error: Expression type contains "Any" (has type "tuple[AccumulationBounds | Any | None, ...]") [no-any-expr]
|
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.
helpful-string
incorrectly triggers on every generic #598