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 os.path with pathlib #18

Merged
merged 1 commit into from Jan 11, 2019

Conversation

Projects
None yet
2 participants
@c-w
Copy link
Collaborator

commented Jan 11, 2019

Using pathlib's Path abstraction makes code more explicit since we no
longer have to pass around strings when really we mean file paths.
Additionally, the infix notation for path joining also makes code more
terse and somewhat more readable.

Replace os.path with pathlib
Using pathlib's Path abstraction makes code more explicit since we no
longer have to pass around strings when really we mean file paths.
Additionally, the infix notation for path joining also makes code more
terse and somewhat more readable.

@c-w c-w force-pushed the pathlib branch from d17da45 to de4d593 Jan 11, 2019

@michaelperel michaelperel merged commit 8878388 into refactor Jan 11, 2019

3 checks passed

Travis CI - Branch Build Passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@c-w c-w deleted the pathlib branch Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.