Skip to content

Commit 17d770d

Browse files
committed
typechecking
1 parent c2eccf2 commit 17d770d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/virtualship/expedition/simulate_schedule.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ def _progress_time_traveling_towards(self, location: Location) -> None:
189189
def _get_underway_measurements(
190190
self,
191191
underway_instrument_config,
192-
azimuth,
193-
distance_to_move,
192+
azimuth: float,
193+
distance_to_move: float,
194194
time_to_reach: timedelta,
195195
):
196196
"""Get the times and locations of measurements between a waypoint (or the start) and the next waypoint, for underway instruments."""
@@ -236,7 +236,9 @@ def _progress_time_stationary(self, time_passed: timedelta) -> None:
236236

237237
self._time = end_time
238238

239-
def _get_underway_stationary_times(self, underway_instrument_config, time_passed):
239+
def _get_underway_stationary_times(
240+
self, underway_instrument_config, time_passed: timedelta
241+
):
240242
npts = (
241243
time_passed.total_seconds()
242244
/ underway_instrument_config.period.total_seconds()

0 commit comments

Comments
 (0)