Skip to content

Commit 7db511f

Browse files
committed
refactor: lint
1 parent 8752dfc commit 7db511f

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

listeners/events/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44

55
def register(app: App):
6-
app.event("app_mention")(app_mentioned_callback)
6+
app.event("app_mention")(app_mentioned_callback)

listeners/events/app_mentioned.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from logging import Logger
22
from slack_sdk import WebClient
33
from slack_bolt import Say
4-
from slack_bolt.context.get_thread_context import GetThreadContext
54
from typing import List, Dict
65

76
from ..llm_caller import call_llm
@@ -14,9 +13,7 @@
1413
"""
1514

1615

17-
def app_mentioned_callback(
18-
client: WebClient, event: dict, logger: Logger, say: Say
19-
):
16+
def app_mentioned_callback(client: WebClient, event: dict, logger: Logger, say: Say):
2017
try:
2118

2219
channel_id = event.get("channel")

0 commit comments

Comments
 (0)