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

mypy support #56

Open
RichardFevrier opened this issue Jun 20, 2021 · 3 comments
Open

mypy support #56

RichardFevrier opened this issue Jun 20, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@RichardFevrier
Copy link

Hello everyone πŸ‘‹

It should be great if this library could pass the mypy (--strict) static typing checker βœ…

Thanks

@2pd
Copy link
Contributor

2pd commented Jun 21, 2021

thank you for your suggestion, we will look into this. We are trying to keep this library simple, clean, and easy to use. Will not have a dependency unless it's very neccessary.

@An-dz
Copy link

An-dz commented Jul 11, 2021

What Richard is really requesting is for this project to have type hints so that mypy can do static type checking of this library and projects using it. Type hints are a built-in feature of Python since 3.5, so no extra dependencies needed, and considering 3.6 is the oldest still supported version of Python it's pretty safe to include type hints.

mypy is a development software just like flake8, so it won't be needed by users.

@2pd 2pd added the enhancement New feature or request label Jul 12, 2021
@bastgau
Copy link

bastgau commented Jun 1, 2024

I confirm, it will be great if the mypy support was implemented.

By the way, it will be usefull with Pyright and other linters.

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

No branches or pull requests

4 participants