Replies: 3 comments 4 replies
-
Aside from what I suggested in #1395 , it would be useful to understand a "root cause". So right now, if you have classes A, B, and C that all depend on some class X, and X is incomplete from a Ideally, that kind of report would be available from the |
Beta Was this translation helpful? Give feedback.
-
Is it possible to inherit type annotations from parent classes? from untyped_lib import UntypedClass
class A:
name: str = "A"
class B:
name = "B" # pyright complains about unknown type in B.name, even though it is str
untyped: UntypedClass = UntypedClass() # reported as unknown event with `--ignoreexternal` flag
untyped_any: Any = UntypedClass() # works, but you lose auto-complete and type checking |
Beta Was this translation helpful? Give feedback.
-
It would be useful if there was an option to turn off the "missing docstrings" check. |
Beta Was this translation helpful? Give feedback.
-
I'm planning to rewrite the "--verifytypes" functionality in pyright, and I'm looking for feedback from those of you who have used the feature in its current form.
What is working, and what isn't?
Here's a couple of things I'm considering changing:
Beta Was this translation helpful? Give feedback.
All reactions