-
-
Notifications
You must be signed in to change notification settings - Fork 300
Description
Hi @bckohan,
It looks like our project currently doesn’t have type hints, so tools like mypy or pyright can’t properly perform static type checking. I’d love to contribute by adding type hints to the project.
There are two ways we could approach this:
1. Add type hints directly within this project – This would involve modifying a large portion of the codebase.
2. Contribute external type hints to the typeshed project – This keeps the main codebase untouched. I’ve done something similar before for the django-channels package (PR #13939). The downside is that types in typeshed would need to be kept in sync with this project over time.
I believe adding type hints will improve maintainability and tooling support for the project. I’m happy to follow whichever approach you prefer, and I’d appreciate your help reviewing the code once I get started.
What do you think about this suggestion?