Skip to content

Commit

Permalink
Remove mypy exclusions for a couple more libraries (#9160)
Browse files Browse the repository at this point in the history
* 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...
  • Loading branch information
max-sixty authored Jun 24, 2024
1 parent fe4fb06 commit c8ff731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ module = [
"cloudpickle.*",
"cubed.*",
"cupy.*",
"dask.types.*",
"fsspec.*",
"h5netcdf.*",
"h5py.*",
Expand All @@ -126,7 +125,6 @@ module = [
"pooch.*",
"pyarrow.*",
"pydap.*",
"pytest.*",
"scipy.*",
"seaborn.*",
"setuptools",
Expand Down
6 changes: 3 additions & 3 deletions xarray/tests/test_dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
except ImportError:

class DummyArrayAPINamespace:
bool = None
int32 = None
float64 = None
bool = None # type: ignore[unused-ignore,var-annotated]
int32 = None # type: ignore[unused-ignore,var-annotated]
float64 = None # type: ignore[unused-ignore,var-annotated]

array_api_strict = DummyArrayAPINamespace

Expand Down

0 comments on commit c8ff731

Please sign in to comment.