File tree 2 files changed +11
-9
lines changed 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,8 @@ ignore_missing_imports = True
198
198
ignore_missing_imports = True
199
199
[mypy-h5py.*]
200
200
ignore_missing_imports = True
201
+ [mypy-importlib_metadata.*]
202
+ ignore_missing_imports = True
201
203
[mypy-iris.*]
202
204
ignore_missing_imports = True
203
205
[mypy-matplotlib.*]
Original file line number Diff line number Diff line change @@ -1068,14 +1068,14 @@ def persist(self, **kwargs) -> "Dataset":
1068
1068
@classmethod
1069
1069
def _construct_direct (
1070
1070
cls ,
1071
- variables ,
1072
- coord_names ,
1073
- dims = None ,
1074
- attrs = None ,
1075
- indexes = None ,
1076
- encoding = None ,
1077
- close = None ,
1078
- ):
1071
+ variables : Mapping [ Any , Variable ] ,
1072
+ coord_names : Set [ Hashable ] ,
1073
+ dims : Mapping [ Any , int ] = None ,
1074
+ attrs : Mapping = None ,
1075
+ indexes : Mapping [ Any , Index ] = None ,
1076
+ encoding : Mapping = None ,
1077
+ close : Callable [[], None ] = None ,
1078
+ ) -> "Dataset" :
1079
1079
"""Shortcut around __init__ for internal use when we want to skip
1080
1080
costly validation
1081
1081
"""
@@ -2359,7 +2359,7 @@ def isel(
2359
2359
indexers = drop_dims_from_indexers (indexers , self .dims , missing_dims )
2360
2360
2361
2361
variables = {}
2362
- dims : Dict [Hashable , Tuple [ int , ...] ] = {}
2362
+ dims : Dict [Hashable , int ] = {}
2363
2363
coord_names = self ._coord_names .copy ()
2364
2364
indexes = self ._indexes .copy () if self ._indexes is not None else None
2365
2365
You can’t perform that action at this time.
0 commit comments