Skip to content

Revert ruff refactor in custom_components; pin lint rule set - #78

Merged
partach merged 1 commit into
mainfrom
claude/investigate-branch-delta-yrLn9
Jul 30, 2026
Merged

Revert ruff refactor in custom_components; pin lint rule set#78
partach merged 1 commit into
mainfrom
claude/investigate-branch-delta-yrLn9

Conversation

@partach

@partach partach commented Jul 30, 2026

Copy link
Copy Markdown
Owner

The ruff cleanup rewrote ~90 except clauses across every protocol client and coordinator. Restore custom_components/ to the last state where Modbus reads were confirmed working (511c8c7, which keeps the FC 06 single-register write fix).

Add ruff.toml pinning the rule set to ruff's documented defaults (E4/E7/E9/F) so lint results are deterministic across ruff versions and don't push broad-except narrowing into protocol code, where catching everything is intentional.

https://claude.ai/code/session_0141XkQRjcng4RKLD4Yv5FAr

The ruff cleanup rewrote ~90 except clauses across every protocol
client and coordinator. Restore custom_components/ to the last state
where Modbus reads were confirmed working (511c8c7, which keeps the
FC 06 single-register write fix).

Add ruff.toml pinning the rule set to ruff's documented defaults
(E4/E7/E9/F) so lint results are deterministic across ruff versions
and don't push broad-except narrowing into protocol code, where
catching everything is intentional.

https://claude.ai/code/session_0141XkQRjcng4RKLD4Yv5FAr
@partach
partach merged commit d70d77a into main Jul 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants