-
Notifications
You must be signed in to change notification settings - Fork 761
Closed
Labels
Description
Is your feature request related to a problem?
It looks like pyright is good at catching issues with types annotations, e.g.
- semconv: Usage of
Finalannotation forEnumattributes is an error #4083 - Re add toplevel py.typed file #4084
It would make sense to catch these kind of issues earlier.
Describe the solution you'd like
We can add some basic tests, I think the two snippets from the mentioned issues may be enough to start.
Describe alternatives you've considered
Maybe mypy will catch these too so pyright won't be needed. Maybe it would enough to add annotations to the examples we already have and run a type checker against them.
Additional Context
No response
Would you like to implement a fix?
None