-
I'm not sure this is a bug in pyright, or something that would need to be addressed in typeshed - but even if it's the latter I feel like running with from contextlib import contextmanager
@contextmanager
def fail_at() -> Generator[int, None, None]:
"blabla"
... $ pyright --pythonversion=3.12 --verifytypes=foo --ignoreexternal
[...]
Symbols without documentation:
Functions without docstring: 1
Functions without default param: 1
Classes without docstring: 0
[...]
$ pyright --pythonversion=3.12 --verifytypes=foo
[...]
Functions without docstring: 1
Functions without default param: 1
Classes without docstring: 3
[...] |
Beta Was this translation helpful? Give feedback.
Answered by
erictraut
Sep 7, 2024
Replies: 1 comment 5 replies
-
I'm not able to repro the problem as described. Here's what I get when I create a fake "py.typed" package with a single
Please double check that you're able to repro the output you posted above. You might also find the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for putting together the repro. I was able to diagnose the cause of the issue and fix it. This will be addressed in the next release.