mypy: Remove unused type: ignore comments.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
5b5fda2354
commit
30f241a126
7 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue