aboutsummaryrefslogtreecommitdiffstats
path: root/slack/commands.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-12-07 21:15:05 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commita2edc01bd1224ef7b6e11ff9b952e675514e1ece (patch)
tree55f15de58861071dacb029b5295cc347b799de12 /slack/commands.py
parent0cb37109508d3828570c15f8ec68d65b11ff1ba1 (diff)
downloadwee-slack-a2edc01bd1224ef7b6e11ff9b952e675514e1ece.tar.gz
Format all files with ruff
Diffstat (limited to 'slack/commands.py')
-rw-r--r--slack/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/commands.py b/slack/commands.py
index 2d7cb09..9dc277d 100644
--- a/slack/commands.py
+++ b/slack/commands.py
@@ -68,7 +68,7 @@ def weechat_command(
Callable[[str, str], None],
]:
def decorator(
- f: Callable[[str, List[str], Dict[str, Optional[str]]], None]
+ f: Callable[[str, List[str], Dict[str, Optional[str]]], None],
) -> Callable[[str, str], None]:
cmd = removeprefix(f.__name__, "command_").replace("_", " ")
top_level = " " not in cmd