-
-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
PR welcomeIssue is confirmed, but not fixed yetIssue is confirmed, but not fixed yetenhancementNew feature or requestNew feature or request
Description
Consider this short piece of code:
from pathlib import Path
from pydriller import Repository
REPO_DIR = Path('~/foo/bar/').expanduser()
repo = Repository(REPO_DIR)It breaks:
Exception: The path to the repo has to be of type 'string' or 'list of strings'!
It's worth noting that GitPython's Repo supports any PathLike object.
Workaround
Yes, I can manually convert the Path to a string. But PyDriller should support Path objects natively.
Metadata
Metadata
Assignees
Labels
PR welcomeIssue is confirmed, but not fixed yetIssue is confirmed, but not fixed yetenhancementNew feature or requestNew feature or request