Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aelanman committed Mar 22, 2024
1 parent 0ad61ac commit d1c7073
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lunarsky/tests/test_moon.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
import copy
import numpy as np
import astropy.units as unit
from astropy.coordinates import Longitude, Latitude, SphericalRepresentation, SphericalDifferential
from astropy.coordinates import (
Longitude,
Latitude,
SphericalRepresentation,
SphericalDifferential,
)
from astropy.tests.helper import quantity_allclose
from astropy.coordinates.tests.test_representation import representation_equal
from lunarsky import MoonLocation, MoonLocationAttribute, MCMF
Expand Down Expand Up @@ -71,7 +76,9 @@ def test_invalid(self):

# invalid ellipsoid
with pytest.raises(ValueError):
loc = MoonLocation.from_selenodetic(self.lon, self.lat, self.h, ellipsoid="INVALID")
loc = MoonLocation.from_selenodetic(
self.lon, self.lat, self.h, ellipsoid="INVALID"
)

def test_attributes(self):
assert np.allclose(self.location.height, self.h)
Expand Down

0 comments on commit d1c7073

Please sign in to comment.