mypy: Remove unused type: ignore comments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-03-04 15:09:27 -08:00
parent 5b5fda2354
commit 30f241a126
7 changed files with 10 additions and 8 deletions

View file

@ -437,7 +437,7 @@ class Client:
# Actually construct the session
session = requests.Session()
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.verify = self.tls_verification
session.cert = client_cert
session.headers.update({"User-agent": self.get_user_agent()})
self.session = session