From 459378f4dbc41c780ee63de049257b0673e77a4a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 13:08:16 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xarray/tests/test_namedarray.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/xarray/tests/test_namedarray.py b/xarray/tests/test_namedarray.py index 06424194418..9f7549422ce 100644 --- a/xarray/tests/test_namedarray.py +++ b/xarray/tests/test_namedarray.py @@ -95,11 +95,9 @@ def check_duck_array_typevar(a: duckarray[Any, _DType]) -> duckarray[Any, _DType if missing_attrs_: missing_attrs += f"{t.__name__} - {missing_attrs_}\n" raise TypeError( - ( - f"a ({type(a)}) is not a valid _arrayfunction or _arrayapi. " - "Missing following attrs:\n" - f"{missing_attrs}" - ) + f"a ({type(a)}) is not a valid _arrayfunction or _arrayapi. " + "Missing following attrs:\n" + f"{missing_attrs}" )