blinker icon indicating copy to clipboard operation
blinker copied to clipboard

add type hints to the project

Open bbc2 opened this issue 6 years ago • 5 comments

Having type hints for this library would make it possible to check its usage in applications with Mypy. I currently have a work-in-progress of those type hints.

Before it can be accepted into python/typeshed, I need to get the permission from the maintainers, so is it OK if I submit Blinker stubs to typeshed?

bbc2 avatar Sep 08 '18 11:09 bbc2

this would be a super useful feature

miki725 avatar Nov 14 '19 14:11 miki725

sorry I missed this: please feel free to submit to typeshed. also I'm very amenable to a patch that adds hints to the blinker project.

jek avatar Nov 14 '19 17:11 jek

I'll add types to the code, don't add them to typeshed.

davidism avatar Jul 19 '22 13:07 davidism

@davidism any update on this? I can try to support if you like 😄

kasium avatar Sep 18 '22 19:09 kasium

@davidism I am also happy to help push this project into modern standards (started some work at #77 and #78)

Secrus avatar Sep 26 '22 21:09 Secrus

If there's any need for help I'd be willing to spend some time on this as well, or are you still picking this up @davidism?

sjaq avatar Feb 03 '23 18:02 sjaq

If there's any need for help I'd be willing to spend some time on this as well, or are you still picking this up @davidism?

I am actively working on it right now. No need to start it on your end as well @sjaq

Secrus avatar Feb 03 '23 18:02 Secrus

1.6.1, now released, has initial type hints.

pgjones avatar Apr 09 '23 15:04 pgjones