Skip to content

Commit

Permalink
fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
flopp committed Apr 9, 2024
1 parent c71872f commit cc03cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staticmaps/line.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def interpolate(self) -> typing.List[s2sphere.LatLng]:
current.lng().degrees,
)
n = 2 + math.ceil(line.a13)
for i in range(1, n+1):
for i in range(1, n + 1):
a = (i * line.a13) / n
g = line.ArcPosition(a, Geodesic.LATITUDE | Geodesic.LONGITUDE | Geodesic.LONG_UNROLL)
self._interpolation_cache.append(create_latlng(g["lat2"], g["lon2"]))
Expand Down

0 comments on commit cc03cab

Please sign in to comment.