From c1f293ac846701160206ebd1643e5ca8560437be Mon Sep 17 00:00:00 2001 From: "thomas.peyrucain" Date: Thu, 16 Jan 2025 14:27:28 +0100 Subject: [PATCH] Fix flake8 --- joy_teleop/joy_teleop/joy_teleop.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/joy_teleop/joy_teleop/joy_teleop.py b/joy_teleop/joy_teleop/joy_teleop.py index b686a35..1fa13c8 100644 --- a/joy_teleop/joy_teleop/joy_teleop.py +++ b/joy_teleop/joy_teleop/joy_teleop.py @@ -91,7 +91,8 @@ def __init__(self, name: str, config: typing.Dict[str, typing.Any], if len(self.buttons) == 0 and len(self.axes) == 0 and len(self.axes_negative) == 0: raise JoyTeleopException( - "No buttons, axes or negative_axes configured for command '{}'".format(name) + "No buttons, axes or negative_axes configured for command '{}'" + .format(name) ) # Used to short-circuit the run command if there aren't enough buttons in the message. @@ -143,6 +144,7 @@ def update_active_from_buttons_and_axes(self, joy_state: sensor_msgs.msg.Joy) -> # like (0, 10), but the length of the joystick buttons is only 1. Ignore these. pass + class JoyTeleopTopicCommand(JoyTeleopCommand): def __init__(self, name: str, config: typing.Dict[str, typing.Any], node: Node) -> None: