Skip to content

black, v2 #4384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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