You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're partway through a migration from the older os.path method of handling filesystem paths to the newer Pathlib style, and have a number of files that need updating. I'm filing a separate bug for each so folk doing hacktoberfest can grab one and go really quickly and hopefully so people won't wind up doing too much overlapping work and people can indicate they're working on one by commenting on it.
Basically, the task is to search through the file for the string os.path and replace whatever's there with the equivalent Pathlib construction.
We're partway through a migration from the older
os.path
method of handling filesystem paths to the newerPathlib
style, and have a number of files that need updating. I'm filing a separate bug for each so folk doing hacktoberfest can grab one and go really quickly and hopefully so people won't wind up doing too much overlapping work and people can indicate they're working on one by commenting on it.Basically, the task is to search through the file for the string
os.path
and replace whatever's there with the equivalent Pathlib construction.Here's a quick grep on the file to show you what probably needs to be changed:
Don't forget to remove any imports that are no longer needed when you're done! (you can use flake8 to check for those).
The text was updated successfully, but these errors were encountered: