Skip to content

Commit

Permalink
MNT: Consolodate __all__'s in xarray
Browse files Browse the repository at this point in the history
Only the last one mattered anyway, but it's better for that to be at the
top of the file.
  • Loading branch information
dopplershift committed Jul 7, 2021
1 parent bb6f9e4 commit ce6f71d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/metpy/xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from ._vendor.xarray import either_dict_or_kwargs, expanded_indexer, is_dict_like
from .units import DimensionalityError, UndefinedUnitError, units

__all__ = []
__all__ = ('MetPyDataArrayAccessor', 'MetPyDatasetAccessor', 'grid_deltas_from_dataarray')
metpy_axes = ['time', 'vertical', 'y', 'latitude', 'x', 'longitude']

# Define the criteria for coordinate matches
Expand Down Expand Up @@ -1541,6 +1541,3 @@ def wrapper(*args, **kwargs):

return func(*bound_args.args, **bound_args.kwargs)
return wrapper


__all__ = ('MetPyDataArrayAccessor', 'MetPyDatasetAccessor', 'grid_deltas_from_dataarray')

0 comments on commit ce6f71d

Please sign in to comment.