Skip to content

Fix warning in Pyright ("Repo" not exported from module "git") #1656

Closed
@DeflateAwning

Description

@DeflateAwning

In Pyright, the following line of code causes the following error:

import git
gitRepo = git.Repo(__file__)

Error:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions