From f2d7e86fc7426d6bdda244a4f399c7930b5624cc Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 5 Jul 2021 22:25:38 +0200 Subject: 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. --- slixmpp/clientxmpp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'slixmpp/clientxmpp.py') 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 -- cgit v1.2.3