In Pyright, the following line of code causes the following error:
import git gitRepo = git.Repo(__file__)
Error: