Add type hints to opentelemetry-sdk and run as a part of tests
See original GitHub issueMuch of opentelemetry-sdk
code doesn’t have type hints. It would be great to add mypy type hints and run the tests similar to opentelemetry-api
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Tests aren't enough: Case study after ... - Seth Michael Larson
Our solution to this was to maintain a list of files in our project that we knew had correct type hints. Mypy would...
Read more >Add type hints and expose them via PEP561 #1112 - GitHub
This issue is done when the following criteria are met: Type hinting is part of CI under the lint environment in the tox.ini...
Read more >Type hints cheat sheet - mypy 0.991 documentation
Type hints cheat sheet#. This document is a quick cheat sheet showing how to use type annotations for various common types in Python....
Read more >Migrating from Jaeger Java client to OpenTelemetry SDK
This guide will help you with your first steps in migrating to OpenTelemetry SDK from Jaeger for your application instrumented using the ...
Read more >Manual Instrumentation | OpenTelemetry
This can be done using the OpenTelemetrySdk.builder() method. ... in particular the service.name attribute is the most important piece of telemetry ...
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 Free
Top 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
Thank you so much @srikanthccv, I added that to my configuration and now mypy is able to resolve all of the imports from opentelemetry-python!
Yes, I do. I’ve been a little busy recently, but I hope to finish this task soon