diff --git a/ada_feeding/ada_feeding/trees/move_to_mouth_tree.py b/ada_feeding/ada_feeding/trees/move_to_mouth_tree.py index e6db9f5d..1cb2d3d2 100644 --- a/ada_feeding/ada_feeding/trees/move_to_mouth_tree.py +++ b/ada_feeding/ada_feeding/trees/move_to_mouth_tree.py @@ -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 @@ -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