Use typing annotations in Kombu (PEP 484)
See original GitHub issuePlease see https://github.com/celery/celery/issues/7258 for more detail.
I have a branch where I did some work with com2ann
, and not much else (except importing from typing
). It’s a lot of work to annotate an entire code base, but may help finding potential bugs, and increase readability.
https://github.com/atombrella/kombu/tree/type_annotations
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Use typing annotations in Celery (PEP 484)? #7258 - GitHub
Are there plans to add type annotations to Celery, and enforce them as well? It's my experience that it increases readability of the...
Read more >PEP 484 – Type Hints - Python Enhancement Proposals
Any function without annotations should be treated as having the most general type possible, or ignored, by any type checker. Functions with the...
Read more >Type hinting / annotation (PEP 484) for numpy.ndarray
A simple way to find out if the object can be converted to a numpy array using array() is simply to try it...
Read more >Awesome Python Typing | Curated list of awesome lists
PEP -484 - Type Hints. PEP-526 - Syntax for Variable Annotations. PEP-544 - Protocols: Structural subtyping (static duck typing). PEP-557 - ...
Read more >Type hinting in PyCharm - JetBrains
PyCharm supports type hinting in function annotations and type comments using the typing module and the format defined by PEP 484.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I meant incremental by telling progressive 😃
closing in favor of https://github.com/celery/kombu/issues/1511