Skip to content

Commit 192024e

Browse files
committed
ruff: Fix PLR1711 Useless return statement at end of function.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 54263e5 commit 192024e

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

packaged_helloworld/packaged_helloworld/packaged_helloworld.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def handle_message(self, message: Dict[str, Any], bot_handler: BotHandler) -> No
2323

2424
emoji_name = "wave"
2525
bot_handler.react(message, emoji_name)
26-
return
2726

2827

2928
handler_class = HelloWorldHandler

zulip_bots/zulip_bots/bots/helloworld/helloworld.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def handle_message(self, message: Dict[str, Any], bot_handler: BotHandler) -> No
2121

2222
emoji_name = "wave"
2323
bot_handler.react(message, emoji_name)
24-
return
2524

2625

2726
handler_class = HelloWorldHandler

zulip_bots/zulip_bots/game_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ def command_leaderboard(self, message: Dict[str, Any], sender: str, content: str
484484
values = [str(stat[key]) for key in raw_headers]
485485
response += " | ".join(values)
486486
self.send_reply(message, response)
487-
return
488487

489488
def get_sorted_player_statistics(self) -> List[Tuple[str, Dict[str, int]]]:
490489
players = []

0 commit comments

Comments
 (0)