Move IFileSystem out of `boards.py`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 59
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
As per
I propose moving IFileSystem into its own pins/fs.py file. It would still imported in boards.py for type hinting, so this wouldn't break backward compatibility.
It could then be used for type annotations in drivers.py without a circular import. This is currently the only other place where it is referenced.
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
Start by locating IFileSystem in pins/boards.py and inspect its reference in pins/drivers.py, especially the type annotations linked in the issue. Move the interface to pins/fs.py, preserve the boards.py import for compatibility, and update drivers.py to use it without a circular import. Done means the relevant imports and annotations work as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100