-
Notifications
You must be signed in to change notification settings - Fork 15
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
Any plans for type hint / mypy support? #24
Comments
I believe it could be enough to augment this library with a typing stub (.pyi), but I'm not that experienced with the matter. I think this could also be a candidate for a type stubs in the typeshed library |
@Mattwmaster58 This project provides the typing stubs for the |
@blumu I think the type stub you mentioned is intended for https://github.com/LuminosoInsight/ordered-set , another ordered set implementation. Not this one. |
@MapleCCC You are right, my bad! |
Are there any plans for type hint / mypy support?
OrderedSet
is not a generic type, so it's not possible to useOrderedSet[str]
.OrderedSet
of strings is not considered compatible withtyping.Set[str]
ortyping.Iterable[str]
, making it not sit well in type-hinted projects.The text was updated successfully, but these errors were encountered: