Skip to content

Commit 9147c89

Browse files
committed
lint
1 parent ac6200f commit 9147c89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cf_xarray/accessor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,9 @@ def __getitem__(self, key: Union[str, List[str]]):
921921
try:
922922
names = axis_coord_mapper(self._obj, k)
923923
except KeyError as e:
924-
raise ValueError(f"Receive multiple variables for key {k!r}. Expected only one. Please pass a list [{k!r}] instead to get all variables matching {k!r}.")
924+
raise ValueError(
925+
f"Receive multiple variables for key {k!r}. Expected only one. Please pass a list [{k!r}] instead to get all variables matching {k!r}."
926+
)
925927
raise e
926928
successful[k] = bool(names)
927929
coords.extend(names)

0 commit comments

Comments
 (0)