Repository navigation
Commit ddabc2f
fix(inverter): restore indentation lost applying a Copilot autofix
604e43a took Copilot's suggestion to reuse is_entity_id() in
is_real_entity_configured(), but the applied patch put the return at
column 0, dedenting it out of the method and making the whole file
unparseable - black and ruff both failed on the syntax error rather
than on anything stylistic.
Restore the indentation and fold the now-unused `value` local into the
return, which ruff's F841 would otherwise flag. The refactor itself was
correct: is_entity_id() is exactly the isinstance/"." test it replaced.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 604e43a commit ddabc2f
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
317 | | - | |
| 316 | + | |
318 | 317 | | |
319 | 318 | | |
320 | 319 | | |
| |||
0 commit comments