summaryrefslogtreecommitdiff
path: root/poezio/tabs/adhoc_commands_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/tabs/adhoc_commands_list.py')
-rw-r--r--poezio/tabs/adhoc_commands_list.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/poezio/tabs/adhoc_commands_list.py b/poezio/tabs/adhoc_commands_list.py
index fecfc9e2..b62166b0 100644
--- a/poezio/tabs/adhoc_commands_list.py
+++ b/poezio/tabs/adhoc_commands_list.py
@@ -5,16 +5,19 @@ nothing.
"""
import logging
-log = logging.getLogger(__name__)
+from typing import Dict, Callable
from poezio.tabs import ListTab
+from poezio.core.structs import Command
from slixmpp.plugins.xep_0030.stanza.items import DiscoItem
+log = logging.getLogger(__name__)
+
class AdhocCommandsListTab(ListTab):
- plugin_commands = {}
- plugin_keys = {}
+ plugin_commands = {} # type: Dict[str, Command]
+ plugin_keys = {} # type: Dict[str, Callable]
def __init__(self, core, jid):
ListTab.__init__(