Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow PathLike type for input_dirs and work_dir #99

Open
sverhoeven opened this issue Apr 13, 2021 · 0 comments
Open

Allow PathLike type for input_dirs and work_dir #99

sverhoeven opened this issue Apr 13, 2021 · 0 comments

Comments

@sverhoeven
Copy link
Member

Now they must be str, it would be nice if https://docs.python.org/3/library/os.html#os.PathLike type could be used then a str or https://docs.python.org/3/library/pathlib.html#pathlib.PurePath would be allowed.

Then the calling code no longer has to perform casting like str(work_dir).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant