Skip to content

Commit

Permalink
remove the spurious trailing comma (#4384)
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis authored Aug 27, 2020
1 parent 4aa7622 commit 13caf96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions xarray/core/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@
)


def broadcast_dimension_size(
variables: List[Variable],
) -> Dict[Hashable, int]:
def broadcast_dimension_size(variables: List[Variable]) -> Dict[Hashable, int]:
"""Extract dimension sizes from a dictionary of variables.
Raises ValueError if any dimensions have different sizes.
Expand Down
4 changes: 1 addition & 3 deletions xarray/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,7 @@ def _assert_dataset_invariants(ds: Dataset):
assert isinstance(ds._attrs, (type(None), dict))


def _assert_internal_invariants(
xarray_obj: Union[DataArray, Dataset, Variable],
):
def _assert_internal_invariants(xarray_obj: Union[DataArray, Dataset, Variable]):
"""Validate that an xarray object satisfies its own internal invariants.
This exists for the benefit of xarray's own test suite, but may be useful
Expand Down

0 comments on commit 13caf96

Please sign in to comment.