Skip to content

Commit

Permalink
maybe fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Nov 2, 2023
1 parent 49a1c64 commit c1f1974
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xarray/testing/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@

class ArrayStrategyFn(Protocol):
def __call__(
self, *, shape: tuple[int, ...] = None, dtype: np.dtype = None, **kwargs
self,
*,
shape: tuple[int, ...] | None = None,
dtype: np.dtype | None = None,
**kwargs,
) -> st.SearchStrategy[T_DuckArray]:
...

Expand Down

0 comments on commit c1f1974

Please sign in to comment.