summaryrefslogtreecommitdiff
path: root/poezio/pep.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-07-22 14:23:39 +0200
committermathieui <mathieui@mathieui.net>2018-07-22 14:25:18 +0200
commite2414121af16474744d012cdb8466de6ae3136e4 (patch)
treee7d90b34da1d971e6e14cd8707837cab9200f0a3 /poezio/pep.py
parent3cb8e33f938db6bb6e86dd349f8b56676b83556f (diff)
downloadpoezio-e2414121af16474744d012cdb8466de6ae3136e4.tar.gz
poezio-e2414121af16474744d012cdb8466de6ae3136e4.tar.bz2
poezio-e2414121af16474744d012cdb8466de6ae3136e4.tar.xz
poezio-e2414121af16474744d012cdb8466de6ae3136e4.zip
Add type hints here and there
Diffstat (limited to 'poezio/pep.py')
-rw-r--r--poezio/pep.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/poezio/pep.py b/poezio/pep.py
index a211b09b..52cc4cd5 100644
--- a/poezio/pep.py
+++ b/poezio/pep.py
@@ -3,6 +3,8 @@ Collection of mappings for PEP moods/activities
extracted directly from the XEP
"""
+from typing import Dict
+
MOODS = {
'afraid': 'Afraid',
'amazed': 'Amazed',
@@ -84,7 +86,7 @@ MOODS = {
'undefined': 'Undefined',
'weak': 'Weak',
'worried': 'Worried'
-}
+} # type: Dict[str, str]
ACTIVITIES = {
'doing_chores': {
@@ -202,4 +204,4 @@ ACTIVITIES = {
'studying': 'Studying',
'other': 'Other',
}
-}
+} # type: Dict[str, Dict[str, str]]