-
Notifications
You must be signed in to change notification settings - Fork 1
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
Consolidate on pathlib module #306
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #306 +/- ##
==========================================
- Coverage 98.15% 98.14% -0.01%
==========================================
Files 11 11
Lines 1028 1024 -4
==========================================
- Hits 1009 1005 -4
Misses 19 19 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - as far as I can see you've caught them all:
$ rg --files-with-matches 'os\.path'
versioneer.py
tests/data/mom6/README
Running e2e tests needs to wait until #304 is merged in. |
Closes #271.
This PR aims to remove
os.path
dependency from the main package, replacing it withpathlib.Path
.An e2e test should be done on this branch before merging to confirm the build system is unaffected.
os.path
is still used inversioneer.py
, but I think that's code that's been generated externally and committed to our repo, so I haven't touched that.