twisted / constantly

Symbolic Constants in Python
https://constantly.readthedocs.io/en/latest/
Other
23 stars 14 forks source link

Include type annotations #24

Open wiml opened 5 years ago

wiml commented 5 years ago

I've been using constantly with typecheckers, and have produced the following type stub file. I think it would be beneficial to include this in the distribution (either by merging it into the source code, or by distributing the stub file alongside the .py file ala PEP-0484.)

https://gist.github.com/wiml/610be1d9d507143b6fc796b4e8fdf889

wiml commented 3 years ago

Ping! Now that Twisted is applying type annotations, this has increasing relevance.

adiroiban commented 1 year ago

Hi Wim. I would be happy to review a type annotation PR for this repo :)

Anyone with time for this, feel free to send the PR and I will try to find time to review it.

Cheers