From 5ea82ac0af1cb855c9333796004c6a97da6b5ad4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 15 Aug 2018 14:21:59 +0200 Subject: Fix mypy errors, add type annotations --- poezio/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/user.py') 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) -- cgit v1.2.3