Skip to content

Commit 13caf96

Browse files
authored
remove the spurious trailing comma (#4384)
1 parent 4aa7622 commit 13caf96

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

xarray/core/merge.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@
5656
)
5757

5858

59-
def broadcast_dimension_size(
60-
variables: List[Variable],
61-
) -> Dict[Hashable, int]:
59+
def broadcast_dimension_size(variables: List[Variable]) -> Dict[Hashable, int]:
6260
"""Extract dimension sizes from a dictionary of variables.
6361
6462
Raises ValueError if any dimensions have different sizes.

xarray/testing.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,7 @@ def _assert_dataset_invariants(ds: Dataset):
322322
assert isinstance(ds._attrs, (type(None), dict))
323323

324324

325-
def _assert_internal_invariants(
326-
xarray_obj: Union[DataArray, Dataset, Variable],
327-
):
325+
def _assert_internal_invariants(xarray_obj: Union[DataArray, Dataset, Variable]):
328326
"""Validate that an xarray object satisfies its own internal invariants.
329327
330328
This exists for the benefit of xarray's own test suite, but may be useful

0 commit comments

Comments
 (0)