Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ashum68 committed Jun 18, 2024
1 parent f2e6d43 commit 8251081
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion modules/flight_interface/flight_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def __init__(
self.controller = controller
self.home_location = home_location

def run(self, command: decision_command.DecisionCommand) -> "tuple[bool, drone_odometry_local.DroneOdometryLocal | None]":
def run(
self, command: decision_command.DecisionCommand
) -> "tuple[bool, drone_odometry_local.DroneOdometryLocal | None]":
"""
Uploads decision commands to drone and returns local drone odometry with timestamp.
"""
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/test_flight_interface_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def main() -> int:

while True:
try:
input_data: drone_odometry_local.DroneOdometryLocal = odometry_out_queue.queue.get_nowait()
input_data: drone_odometry_local.DroneOdometryLocal = (
odometry_out_queue.queue.get_nowait()
)
assert (
str(type(input_data)) == "<class 'modules.drone_odometry_local.DroneOdometryLocal'>"
)
Expand Down

0 comments on commit 8251081

Please sign in to comment.