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

Replace str paths with pathlib.Path #182

Open
gjost opened this issue Apr 22, 2020 · 0 comments
Open

Replace str paths with pathlib.Path #182

gjost opened this issue Apr 22, 2020 · 0 comments
Assignees

Comments

@gjost
Copy link
Member

gjost commented Apr 22, 2020

Replace str paths with pathlib.Path. Subclass pathlib.Path so absolute and relative paths can be tracked by type hinting:

class AbsPath(pathlib.Path):
    pass
class RelPath(pathlib.Path):
    pass
@gjost gjost self-assigned this Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant