Skip to content
Snippets Groups Projects
Commit 661eef28 authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

chore: VCard4: Add type annotations

parent 382784a9
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
# XEP-0292: vCard4 Over XMPP # XEP-0292: vCard4 Over XMPP
from __future__ import annotations
from gajim.common import types
from gajim.common.modules.base import BaseModule from gajim.common.modules.base import BaseModule
...@@ -25,5 +28,5 @@ class VCard4(BaseModule): ...@@ -25,5 +28,5 @@ class VCard4(BaseModule):
'set_vcard', 'set_vcard',
] ]
def __init__(self, con): def __init__(self, con: types.Client) -> None:
BaseModule.__init__(self, con) BaseModule.__init__(self, con)
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
"gajim/common/modules/pep.py", "gajim/common/modules/pep.py",
"gajim/common/modules/register.py", "gajim/common/modules/register.py",
"gajim/common/modules/vcard_temp.py", "gajim/common/modules/vcard_temp.py",
"gajim/common/modules/vcard4.py",
"gajim/common/passwords.py", "gajim/common/passwords.py",
"gajim/common/regex.py", "gajim/common/regex.py",
"gajim/common/setting_values.py", "gajim/common/setting_values.py",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment