Note: if you are reporting a wrong signature of a function or a class in the standard library, then the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues.
If you have a question about typing or a behavior that you’re seeing in Pyright (as opposed to a bug report or enhancement request), consider posting to the Pyright discussion forum.
Describe the bug
pip install GitPython==3.1.35
Make a file with:
import git
repo = git.Repo(__file__)
See that there's an error reported from Pyright: "Repo" is not exported from module "git"
I believe it has to do with the way that __all__ is dynamically generated in their lib's __init__.py. This is valid though.
VS Code extension or command-line
VS Code extension. Version 1.1.326.