Skip to content

Commit

Permalink
Formatting/linting
Browse files Browse the repository at this point in the history
  • Loading branch information
amalnanavati committed Aug 29, 2023
1 parent b82d2c7 commit 6b74e7c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ada_feeding/ada_feeding/trees/move_to_mouth_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ def create_move_to_tree(
-------
tree: The behaviour tree that moves the robot above the plate.
"""
# pylint: disable=too-many-locals
# pylint: disable=too-many-locals, too-many-statements
# This function creates all the behaviors of the tree, which is why
# it has so many locals.
# it has so many locals/statements.
# TODO: consider separating each behavior into its own function to simplify this.

# Separate the namespace of each sub-behavior
Expand Down Expand Up @@ -427,7 +427,9 @@ def create_move_to_tree(
move_to_mouth,
# Even though we are cleaning up the tree, it should still
# pass the failure up.
py_trees.decorators.SuccessIsFailure(name+" Cleanup", turn_face_detection_off),
py_trees.decorators.SuccessIsFailure(
name + " Cleanup", turn_face_detection_off
),
],
)
root.logger = logger
Expand Down

0 comments on commit 6b74e7c

Please sign in to comment.