Skip to content

Commit c8ff731

Browse files
authored
Remove mypy exclusions for a couple more libraries (#9160)
* Remove mypy exclusions for a couple more libraries Also (unrelated) allow mypy passing without `array_api_strict` installed, which isn't in our dev dependencies...
1 parent fe4fb06 commit c8ff731

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pyproject.toml

-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ module = [
110110
"cloudpickle.*",
111111
"cubed.*",
112112
"cupy.*",
113-
"dask.types.*",
114113
"fsspec.*",
115114
"h5netcdf.*",
116115
"h5py.*",
@@ -126,7 +125,6 @@ module = [
126125
"pooch.*",
127126
"pyarrow.*",
128127
"pydap.*",
129-
"pytest.*",
130128
"scipy.*",
131129
"seaborn.*",
132130
"setuptools",

xarray/tests/test_dtypes.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
except ImportError:
1212

1313
class DummyArrayAPINamespace:
14-
bool = None
15-
int32 = None
16-
float64 = None
14+
bool = None # type: ignore[unused-ignore,var-annotated]
15+
int32 = None # type: ignore[unused-ignore,var-annotated]
16+
float64 = None # type: ignore[unused-ignore,var-annotated]
1717

1818
array_api_strict = DummyArrayAPINamespace
1919

0 commit comments

Comments
 (0)