Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Change functions that have filenames as arguments to use Path objects instead of strings #1288

Closed
matt-gardner opened this issue May 25, 2018 · 1 comment

Comments

@matt-gardner
Copy link
Contributor

To @joelgrus's point here. This will make it so we don't have to do str(path) everywhere. One example of a place that needs to be changed is load_archive; I'm sure there are more. (Nicely enough, if you remove the str() wrapper around the str(path) calls, it looks like mypy will find the places for you.)

@matt-gardner
Copy link
Contributor Author

Closing this very old issue. If there are specific instances where this matters, we can have separate issues for them.

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

No branches or pull requests

1 participant