Problem
Several drivers used camelCase for public methods, while the project convention is snake_case.
Resolution
All camelCase public methods have been migrated to snake_case across 4 drivers, and ruff rules have been enabled to prevent regressions.
Sub-issues (all completed)
Per-driver migration
CI enforcement
Final state
| Driver |
Status |
| apds9960 |
snake_case (66 methods migrated) |
| bq27441 |
snake_case (28 methods migrated) |
| hts221 |
snake_case (7 methods migrated) |
| ism330dl |
snake_case (always was) |
| lis2mdl |
snake_case (variables cleaned) |
| mcp23009e |
snake_case (always was) |
| ssd1327 |
snake_case (example fixed) |
| vl53l1x |
snake_case (comments cleaned) |
| wsen-hids |
snake_case (variables cleaned) |
| wsen-pads |
snake_case (always was) |
Ruff rules enabled
- N802: function name should be lowercase
- N803: argument name should be lowercase
- N806: variable in function should be lowercase (examples excluded)
- T20: no
print() in production code (examples and tests excluded)
No backward-compatibility aliases were added (no release has been made yet).
Next steps
This issue unblocks the remaining harmonization issues (#76–#81).
Problem
Several drivers used camelCase for public methods, while the project convention is snake_case.
Resolution
All camelCase public methods have been migrated to snake_case across 4 drivers, and ruff rules have been enabled to prevent regressions.
Sub-issues (all completed)
Per-driver migration
CI enforcement
Final state
Ruff rules enabled
print()in production code (examples and tests excluded)No backward-compatibility aliases were added (no release has been made yet).
Next steps
This issue unblocks the remaining harmonization issues (#76–#81).