Skip to content

working_dir has Optional type when it can't be None #1549

Closed
@Sineaggi

Description

@Sineaggi

In https://github.com/gitpython-developers/GitPython/blob/main/git/repo/base.py#L285 working_dir is never assigned to None, which means it type shouldn't be marked as Optional.

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