diff options
author | mathieui <mathieui@mathieui.net> | 2021-07-05 22:25:38 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-07-05 22:25:38 +0200 |
commit | f2d7e86fc7426d6bdda244a4f399c7930b5624cc (patch) | |
tree | 252fd52a3250e9cc1f724393cbf36b3472c4cb93 /slixmpp/clientxmpp.py | |
parent | fe1a325aa7249ec4a52f1f5d6fac86fcf1b22756 (diff) | |
download | slixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.tar.gz slixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.tar.bz2 slixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.tar.xz slixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.zip |
typing: add a bunch of type ignores
because this is too smart for mypy and I do not want to rewrite those
things right now.
Diffstat (limited to 'slixmpp/clientxmpp.py')
-rw-r--r-- | slixmpp/clientxmpp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/slixmpp/clientxmpp.py b/slixmpp/clientxmpp.py index 6bfb34c8..f0a7d83e 100644 --- a/slixmpp/clientxmpp.py +++ b/slixmpp/clientxmpp.py @@ -133,8 +133,9 @@ class ClientXMPP(BaseXMPP): def password(self, value: str) -> None: self.credentials['password'] = value - def connect(self, address: Optional[Tuple[str, int]] = None, use_ssl: bool = False, - force_starttls: bool = True, disable_starttls: bool = False) -> None: + def connect(self, address: Optional[Tuple[str, int]] = None, # type: ignore + use_ssl: bool = False, force_starttls: bool = True, + disable_starttls: bool = False) -> None: """Connect to the XMPP server. When no address is given, a SRV lookup for the server will |