Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Switch to pathlib #60

Merged
merged 7 commits into from
Jul 1, 2020
Merged

Switch to pathlib #60

merged 7 commits into from
Jul 1, 2020

Conversation

lukemassa
Copy link

Switching code from using os.path to using Pathlib (per request in #55)

@lukemassa
Copy link
Author

@hjacobs Marked this as WIP as I clean up the tests, I just wanted to make sure this is what you were looking for?

Basically I found once I started replacing some references it made sense to carry all the way through, that is to only interact with Paths and not strings for as long as I can.

tests/test_config.py Outdated Show resolved Hide resolved
@lukemassa lukemassa changed the title WIP: Switch to pathlib Switch to pathlib Jun 28, 2020
@lukemassa
Copy link
Author

Apologies for the delay here, this is now finished:

luke@Lukes-MacBook-Air pykube % grep -r 'os\.path' pykube tests
luke@Lukes-MacBook-Air pykube % 

@hjacobs hjacobs merged commit 17468f8 into hjacobs:master Jul 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants