From bcca5230a35f03fa46a1d9e724860ed5b6f87321 Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Thu, 21 Dec 2017 08:32:40 -0800 Subject: [PATCH] mypy: Remove un-needed 'type: ignore' for session.auth. --- zulip/zulip/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 1a6c686..2aa225f 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -403,7 +403,7 @@ class Client(object): # Actually construct the session session = requests.Session() - session.auth = requests.auth.HTTPBasicAuth(self.email, self.api_key) # type: ignore # https://github.com/python/typeshed/pull/1504 + session.auth = requests.auth.HTTPBasicAuth(self.email, self.api_key) session.verify = self.tls_verification # type: ignore # https://github.com/python/typeshed/pull/1504 session.cert = client_cert session.headers = {"User-agent": self.get_user_agent()}