issue_comments: 1119072230
This data as json
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/5734#issuecomment-1119072230 | https://api.github.com/repos/pydata/xarray/issues/5734 | 1119072230 | IC_kwDOAMm_X85Cs6_m | 14371165 | 2022-05-05T21:40:36Z | 2022-05-05T21:40:36Z | MEMBER | Copy/pasteing the Resample-class removes the rest of the errors. Not especially elegant though, maybe there's a better way?
```
xarray/core/dask_array_compat.py:8: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment]
xarray/backends/locks.py:10: error: Cannot assign to a type [misc]
xarray/backends/locks.py:10: error: Incompatible types in assignment (expression has type "Type[Lock]", variable has type "Type[SerializableLock]") [assignment]
Installing missing stub packages:
xarray/backends/locks.py:15: error: Cannot assign to a type [misc]
/usr/share/miniconda/envs/xarray-tests/bin/python -m pip install types-PyYAML types-paramiko types-python-dateutil types-pytz types-setuptools
xarray/backends/locks.py:15: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Lock]") [assignment]
xarray/core/types.py:19: error: Cannot assign to a type [misc]
xarray/core/types.py:19: error: Incompatible types in assignment (expression has type "Type[ndarray[Any, Any]]", variable has type "Type[Array]") [assignment]
Found 25 errors in 14 files (checked 140 source files)
xarray/core/duck_array_ops.py:33: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment]
xarray/core/nanops.py:14: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment]
xarray/core/_reductions.py:15: error: Skipping analyzing "flox": module is installed, but missing library stubs or py.typed marker [import]
xarray/core/_reductions.py:15: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
xarray/core/groupby.py:584: error: Skipping analyzing "flox.xarray": module is installed, but missing library stubs or py.typed marker [import]
xarray/core/dataset.py:113: error: Cannot assign to a type [misc]
xarray/core/dataset.py:113: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Delayed]") [assignment]
xarray/core/dataset.py:1761: error: Incompatible return value type (got "Union[Tuple[ArrayWriter, AbstractDataStore], bytes, Delayed, None]", expected "Union[bytes, Delayed, None]") [return-value]
xarray/core/dataarray.py:70: error: Cannot assign to a type [misc]
xarray/core/dataarray.py:70: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Delayed]") [assignment]
xarray/core/computation.py:1864: error: Overloaded function implementation cannot satisfy signature 2 due to inconsistencies in how they use type variables [misc]
xarray/core/computation.py:1864: error: Overloaded function implementation cannot satisfy signature 3 due to inconsistencies in how they use type variables [misc]
xarray/core/_typed_ops.pyi:24: error: Cannot assign to a type [misc]
xarray/core/_typed_ops.pyi:24: error: Incompatible types in assignment (expression has type "Type[ndarray[Any, Any]]", variable has type "Type[Array]") [assignment]
xarray/backends/api.py:38: error: Cannot assign to a type [misc]
xarray/backends/api.py:38: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Delayed]") [assignment]
xarray/tests/test_computation.py:2019: error: No overload variant of "polyval" matches argument types "Any", "Any" [call-overload]
xarray/tests/test_computation.py:2019: note: Possible overload variants:
xarray/tests/test_computation.py:2019: note: def polyval(coord: DataArray, coeffs: DataArray, degree_dim: Hashable) -> DataArray
xarray/tests/test_computation.py:2019: note: def [T_Xarray in (DataArray, Dataset)] polyval(coord: T_Xarray, coeffs: Dataset, degree_dim: Hashable) -> Dataset
xarray/tests/test_computation.py:2019: note: def [T_Xarray in (DataArray, Dataset)] polyval(coord: Dataset, coeffs: T_Xarray, degree_dim: Hashable) -> Dataset
xarray/tests/test_testing.py:13: error: Cannot infer type of lambda [misc]
xarray/tests/test_testing.py:13: error: Incompatible types in assignment (expression has type "Callable[[Any], Any]", variable has type "Callable[[Any, Any, Any, Any, Any, Any, Any, Any, Any], Any]") [assignment]
```
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
978356586 |