summaryrefslogtreecommitdiff
path: root/poezio/user.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-08-15 14:21:59 +0200
committermathieui <mathieui@mathieui.net>2018-08-15 14:23:00 +0200
commit5ea82ac0af1cb855c9333796004c6a97da6b5ad4 (patch)
treef737e7e25012b76324ae03b591e19266a113a845 /poezio/user.py
parentcccb1d97591966de1bab1b293294eefb17b90aac (diff)
downloadpoezio-5ea82ac0af1cb855c9333796004c6a97da6b5ad4.tar.gz
poezio-5ea82ac0af1cb855c9333796004c6a97da6b5ad4.tar.bz2
poezio-5ea82ac0af1cb855c9333796004c6a97da6b5ad4.tar.xz
poezio-5ea82ac0af1cb855c9333796004c6a97da6b5ad4.zip
Fix mypy errors, add type annotations
Diffstat (limited to 'poezio/user.py')
-rw-r--r--poezio/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/user.py b/poezio/user.py
index 3792eca8..655eb0de 100644
--- a/poezio/user.py
+++ b/poezio/user.py
@@ -39,7 +39,7 @@ class User:
role: str,
jid: JID,
deterministic=True,
- color=''):
+ color='') -> None:
# The oldest possible time
self.last_talked = datetime(1, 1, 1) # type: datetime
self.update(affiliation, show, status, role)