xarray/core/dataarray.py
[error] invalid-assignment -
:2754:13 -
Object of type `dict[Unknown, Literal[1]]` is not assignable to `Hashable`
[error] invalid-assignment -
:2756:13 -
Object of type `dict[@Todo, @Todo]` is not assignable to `Hashable`
[error] invalid-argument-type -
:2758:37 -
Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Any] | None`, found `Hashable`
xarray/core/dataset.py
[error] invalid-argument-type -
:1340:49 -
Argument to function `did_you_mean` is incorrect: Expected `Hashable`, found `Hashable | Iterable[Hashable]`
[error] invalid-assignment -
:4560:13 -
Object of type `dict[Unknown, Unknown]` is not assignable to `Hashable`
[error] invalid-assignment -
:4566:13 -
Object of type `dict[@Todo, @Todo]` is not assignable to `Hashable`
[error] invalid-assignment -
:4570:13 -
Object of type `dict[Unknown, Literal[1]]` is not assignable to `Hashable`
[error] invalid-assignment -
:4864:13 -
Object of type `list[@Todo]` is not assignable to `Hashable`
[error] invalid-argument-type -
:4866:30 -
Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Hashable`
[error] not-iterable -
:4887:21 -
Object of type `Hashable` is not iterable
[error] unsupported-operator -
:4903:24 -
Operator `not in` is not supported for types `@Todo` and `Hashable`
[error] unsupported-operator -
:4906:20 -
Operator `not in` is not supported for types `Unknown` and `Hashable`, in comparing `Unknown & Hashable` with `Hashable`
[error] invalid-assignment -
:8066:13 -
Object of type `list[@Todo]` is not assignable to `Hashable | DataArray`
[error] not-iterable -
:8067:71 -
Object of type `Top[list[Unknown]] | Hashable | DataArray` may not be iterable
[error] invalid-argument-type -
:1406:28 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Hashable | Iterable[Hashable]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Hashable`
xarray/tests/test_dataarray.py
[error] invalid-argument-type -
:567:34 -
Argument to bound method `rename` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:1183:27 -
Argument to bound method `set_index` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:1893:33 -
Argument to bound method `rename` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:1909:35 -
Argument to bound method `rename` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:1922:34 -
Argument to bound method `rename` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:2057:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2060:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2063:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2065:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2067:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2071:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2073:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2075:27 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2076:27 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2085:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:2089:31 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:2111:36 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2123:36 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2137:36 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2174:36 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:2221:36 -
Argument to bound method `set_index` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:2224:33 -
Argument to bound method `set_index` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:4343:28 -
Argument to bound method `sortby` is incorrect: Expected `Hashable | DataArray`, found `list[@Todo]`
[error] invalid-argument-type -
:4351:28 -
Argument to bound method `sortby` is incorrect: Expected `Hashable | DataArray`, found `list[@Todo]`
xarray/tests/test_dataset.py
[warning] unused-ignore-comment -
:7957:35 -
Unused blanket `type: ignore` directive
[error] invalid-argument-type -
:1895:27 -
Argument to bound method `set_index` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:3568:34 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:3590:34 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:3592:34 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:3605:39 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:3624:39 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:3647:39 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[str, list[@Todo]]`
[error] invalid-argument-type -
:3675:39 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:3787:36 -
Argument to bound method `expand_dims` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:3797:28 -
Argument to bound method `set_index` is incorrect: Expected `Hashable`, found `list[Hashable]`
[error] invalid-argument-type -
:3842:31 -
Argument to bound method `set_index` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:3906:32 -
Argument to bound method `reset_index` is incorrect: Expected `Hashable`, found `str | list[str]`
[error] invalid-argument-type -
:3944:40 -
Argument to bound method `set_index` is incorrect: Expected `Hashable`, found `list[@Todo]`
[error] invalid-argument-type -
:5080:36 -
Argument to bound method `rename` is incorrect: Expected `Hashable`, found `dict[@Todo, @Todo]`
[error] invalid-argument-type -
:6842:28 -
Argument to bound method `sortby` is incorrect: Expected `Hashable | DataArray`, found `list[@Todo]`
[error] invalid-argument-type -
:6848:28 -
Argument to bound method `sortby` is incorrect: Expected `Hashable | DataArray`, found `list[@Todo]`
[error] invalid-argument-type -
:6891:28 -
Argument to bound method `sortby` is incorrect: Expected `Hashable | DataArray`, found `list[@Todo]`
[error] invalid-argument-type -
:6895:28 -
Argument to bound method `sortby` is incorrect: Expected `Hashable | DataArray`, found `list[@Todo]`