Refactor all path handling to use pathlib
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 385
- PR merge metrics
- No merged PRs in 30d
Description
Python3's pathlib abstracts path handling and provides functionality which is otherwise not present or scattered across several modules. In addition it overloads operators for easier path joining.
from pathlib import Path
https://docs.python.org/3/library/pathlib.html
We should refactor all path handling in all our tools to use pathlib.
Tasks:
- Use pathlib for everything path related
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by inventorying path-handling code across all of the repository's tools and read the linked Python pathlib documentation. Completion means replacing path-related handling throughout those tools with pathlib, with no specific files or tests identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100