Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aelanman authored and aelanman committed Jun 26, 2024
1 parent add0918 commit 93019d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lunarsky/moon.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ def new_like(self, cols, length, metadata_conflicts="warn", name=None):
# selenodetic coordinates.
shape = (length,) + attrs.pop("shape")
data = u.Quantity(
np.zeros(shape=shape, dtype=cols[0].dtype), unit=cols[0].unit, copy=COPY_IF_NEEDED
np.zeros(shape=shape, dtype=cols[0].dtype),
unit=cols[0].unit,
copy=COPY_IF_NEEDED,
)
# Get arguments needed to reconstruct class
map = {
Expand Down Expand Up @@ -449,7 +451,9 @@ def to_selenodetic(self, ellipsoid=None):
SELENOIDS[ellipsoid],
)
return SelenodeticLocation(
Longitude(llh.lon, u.degree, wrap_angle=180.0 * u.degree, copy=COPY_IF_NEEDED),
Longitude(
llh.lon, u.degree, wrap_angle=180.0 * u.degree, copy=COPY_IF_NEEDED
),
Latitude(llh.lat, u.degree, copy=COPY_IF_NEEDED),
u.Quantity(llh.height, self.unit, copy=COPY_IF_NEEDED),
)
Expand Down

0 comments on commit 93019d0

Please sign in to comment.