html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/pull/6148#issuecomment-1009313228,https://api.github.com/repos/pydata/xarray/issues/6148,1009313228,IC_kwDOAMm_X848KOXM,14371165,2022-01-10T20:26:04Z,2022-01-10T20:26:04Z,MEMBER,"```
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check yaml...............................................................Passed
isort....................................................................Passed
black....................................................................Passed
black-jupyter............................................................Passed
blackdoc.................................................................Passed
flake8...................................................................Passed
mypy.....................................................................Failed
- hook id: mypy
- exit code: 1
xarray/core/indexing.py:880: error: Argument 1 to ""append"" of ""list"" has incompatible type ""Union[int, Any]""; expected ""ndarray[Any, dtype[Any]]"" [arg-type]
xarray/core/accessor_str.py:280: error: not callable [misc]
xarray/core/variable.py:1379: error: No overload variant of ""pad"" matches argument types ""Any"", ""Any"", ""str"", ""Dict[str, Union[int, Tuple[int, int], Mapping[Any, Tuple[int, int]]]]"" [call-overload]
xarray/core/variable.py:1379: note: Possible overload variants:
xarray/core/variable.py:1379: note: def [_SCT <: generic] pad(array: Union[_SupportsArray[dtype[_SCT]], Sequence[_SupportsArray[dtype[_SCT]]], Sequence[Sequence[_SupportsArray[dtype[_SCT]]]], Sequence[Sequence[Sequence[_SupportsArray[dtype[_SCT]]]]], Sequence[Sequence[Sequence[Sequence[_SupportsArray[dtype[_SCT]]]]]]], pad_width: Union[_SupportsArray[dtype[integer[Any]]], _NestedSequence[_SupportsArray[dtype[integer[Any]]]], int, _NestedSequence[int]], mode: Union[Literal['constant'], Literal['edge'], Literal['linear_ramp'], Literal['maximum'], Literal['mean'], Literal['median'], Literal['minimum'], Literal['reflect'], Literal['symmetric'], Literal['wrap'], Literal['empty']] = ..., *, stat_length: Optional[Union[_SupportsArray[dtype[integer[Any]]], _NestedSequence[_SupportsArray[dtype[integer[Any]]]], int, _NestedSequence[int]]] = ..., constant_values: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]] = ..., end_values: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]] = ..., reflect_type: Union[Literal['odd'], Literal['even']] = ...) -> ndarray[Any, dtype[_SCT]]
xarray/core/variable.py:1379: note: def pad(array: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]], pad_width: Union[_SupportsArray[dtype[integer[Any]]], _NestedSequence[_SupportsArray[dtype[integer[Any]]]], int, _NestedSequence[int]], mode: Union[Literal['constant'], Literal['edge'], Literal['linear_ramp'], Literal['maximum'], Literal['mean'], Literal['median'], Literal['minimum'], Literal['reflect'], Literal['symmetric'], Literal['wrap'], Literal['empty']] = ..., *, stat_length: Optional[Union[_SupportsArray[dtype[integer[Any]]], _NestedSequence[_SupportsArray[dtype[integer[Any]]]], int, _NestedSequence[int]]] = ..., constant_values: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]] = ..., end_values: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]] = ..., reflect_type: Union[Literal['odd'], Literal['even']] = ...) -> ndarray[Any, dtype[Any]]
xarray/core/variable.py:1379: note: def [_SCT <: generic] pad(array: Union[_SupportsArray[dtype[_SCT]], Sequence[_SupportsArray[dtype[_SCT]]], Sequence[Sequence[_SupportsArray[dtype[_SCT]]]], Sequence[Sequence[Sequence[_SupportsArray[dtype[_SCT]]]]], Sequence[Sequence[Sequence[Sequence[_SupportsArray[dtype[_SCT]]]]]]], pad_width: Union[_SupportsArray[dtype[integer[Any]]], _NestedSequence[_SupportsArray[dtype[integer[Any]]]], int, _NestedSequence[int]], mode: _ModeFunc, **kwargs: Any) -> ndarray[Any, dtype[_SCT]]
xarray/core/variable.py:1379: note: def pad(array: Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]], pad_width: Union[_SupportsArray[dtype[integer[Any]]], _NestedSequence[_SupportsArray[dtype[integer[Any]]]], int, _NestedSequence[int]], mode: _ModeFunc, **kwargs: Any) -> ndarray[Any, dtype[Any]]
xarray/core/dataset.py:6922: error: Incompatible types in assignment (expression has type ""DataArray"", variable has type ""ndarray[Any, dtype[floating[_64Bit]]]"") [assignment]
xarray/core/dataset.py:6928: error: ""ndarray[Any, dtype[floating[_64Bit]]]"" has no attribute ""name"" [attr-defined]
xarray/tests/test_computation.py:1937: error: Incompatible types in assignment (expression has type ""ndarray[Any, dtype[signedinteger[Any]]]"", variable has type ""DataArray"") [assignment]
xarray/tests/test_conventions.py:297: error: Argument 2 to ""assert_array_equal"" has incompatible type ""List[datetime]""; expected ""Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]"" [arg-type]
Found 7 errors in 6 files (checked 149 source files)
```
Things are happening here. I suppose the update finds new errors?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1098172430