From d975fba7a1135926095705a89d0ce3373379bbfc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 5 May 2024 18:31:51 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xarray/core/dataarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index e909e456ce7..aa433623d09 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -460,7 +460,7 @@ def __init__( # These fully describe a DataArray self._variable = variable # Variables can have undefined data type according to MyPy due to the fastpath - self._coords: Sequence[Sequence | pd.Index | DataArray] | Mapping = coords # type: ignore[assignment] + self._coords: Sequence[Sequence | pd.Index | DataArray] | Mapping = coords # type: ignore[assignment] self._name = name self._indexes = indexes # type: ignore[assignment]