Skip to content

Commit

Permalink
chore: typing and doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Sep 1, 2023
1 parent 1fe47d9 commit f18b600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/sbstudio/plugin/model/storyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def second_entry(self) -> Optional[StoryboardEntry]:
else:
return None

def validate_and_sort_entries(self) -> None:
def validate_and_sort_entries(self) -> List[StoryboardEntry]:
"""Validates the entries in the storyboard and sorts them by start time,
keeping the active entry index point at the same entry as before.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/sbstudio/plugin/operators/takeoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def create_helper_formation_for_takeoff_and_landing(

num_groups = max(groups) + 1 if groups else 0

# Prepare the points of the target formation to take off to
# Prepare the points of the target formation to take off to or to return to
target = [
(x, y, base_altitude + (num_groups - group - 1) * layer_height)
for (x, y, _), group in zip(source, groups)
Expand Down

0 comments on commit f18b600

Please sign in to comment.