question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use typing annotations in Kombu (PEP 484)

See original GitHub issue

Please 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:closed
  • Created 2 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
auvipycommented, Jan 30, 2022

I meant incremental by telling progressive 😃

0reactions
auvipycommented, Jun 29, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found