adafruit / adafruit/Adafruit_CircuitPython_LSM6DS
Duplicate code in library files - potential refactor needed
- Dominant language
- Python
- Stars
- 34
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
The actions failure with details about duplicated sections is [here](https://github.com/adafruit/Adafruit_CircuitPython_LSM6DS/runs/2031429701?check_suite_focus=true#step:11:32)
We want to avoid having duplicated code if possible. One possible way to fix might be to move duplicate code into a shared super class.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the duplicated sections reported in the linked GitHub Actions run and identify the affected library files. Compare the repeated behavior before deciding whether a shared superclass is appropriate. Done means the duplicate-code check passes and the library's existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100