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

Declare support for type checking #29

Open
AlexanderRitter02 opened this issue Dec 1, 2024 · 0 comments
Open

Declare support for type checking #29

AlexanderRitter02 opened this issue Dec 1, 2024 · 0 comments

Comments

@AlexanderRitter02
Copy link

Suggesting to make your package type checking compatible by declaring it explicitly (PEP 561).
Would be very useful so it can be used with MyPy.

From what I have seen, you already have type annotated your code, which probably means that you only have to declare it using a py.typed marker.

Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing.

I am not familiar with this, so I can't say for sure, but hopefully it would only be a small change. I don't want to impose a big effort on you, so please feel free to ignore if this change would be too big.

Information on this:

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

1 participant