pinecone-io / pinecone-python-client

The Pinecone Python client
https://www.pinecone.io/docs
Apache License 2.0
306 stars 80 forks source link

Add static type checking with mypy #240

Closed jhamon closed 1 year ago

jhamon commented 1 year ago

Problem

Some parts of this code were including typehints, but we haven't been running any checks to verify the correctness of those annotations. Static typechecking helps to improve overall quality and catch mistakes.

Solution

Summary of code changes:

Type of Change

Test Plan

See new step running in CI.