Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing library stubs MYPY #327

Open
Jofemago opened this issue Nov 17, 2023 · 1 comment
Open

Missing library stubs MYPY #327

Jofemago opened this issue Nov 17, 2023 · 1 comment

Comments

@Jofemago
Copy link

In the pursuit of using typing to improve error handling in Python, I use mypy to achieve this goal. However, this library poses issues as there is a lack of 'compatibility,' so to speak, and it gives me messages like this:

image

This shouldn't block anyone since in the mypy configuration, an exception can be made using the following line ignore_missing_imports = True in the mypy.ini file.

With this, I could use the Any type for typing, which is bothersome because I would like to specify, for example, a str in the latlng_to_cell function and a tuple[float, float] in the get_center_of_hexagon function.

I would like to know if this is being worked on, will be worked on, or what opinion there is regarding adding typing to this great Python library, especially with mypy.

@RahulDubey391
Copy link

Hi , I would like to take up on the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants