EV-15 review: reflow the _car_own_pause docstring (one 123-char line)
checks / unit (pull_request) Successful in 22m10s
infra-pin / fresh (pull_request) Successful in 1s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bdqr7PiaHcBnzPituu2yTC
This commit is contained in:
glenn schrooyen
2026-11-17 16:51:41 +01:00
co-authored by Claude Opus 5.5
parent 6d7046fc45
commit 7788543e09
+5 -5
View File
@@ -214,11 +214,11 @@ class CarMixin:
return self.car.car_w_trusted(self.car_now()) return self.car.car_w_trusted(self.car_now())
def _car_own_pause(self, mono) -> bool: def _car_own_pause(self, mono) -> bool:
"""EV-15: is the car held at 0 A by the add-on's OWN phase change (from """EV-15: is the car held at 0 A by the add-on's OWN phase change? From
the moment its 0 A write is SENT, the cycle runs beside the write, the moment its 0 A write is SENT (the cycle runs beside the write)
until the current is set again, then at most one corroboration window)? No when it was aborted (Off, Stop, shadow, until the current is set again, then at most one corroboration window.
unplug, another writer), a write was refused, or it ran past its own No when it was aborted (Off, Stop, shadow, unplug, another writer), a
maximum.""" write was refused, or it ran past its own maximum."""
wr = getattr(self, "car_writer", None) wr = getattr(self, "car_writer", None)
if wr is None or (wr.seq is None and wr.phase_done_at is None if wr is None or (wr.seq is None and wr.phase_done_at is None
and wr.zero_sent_at is None) or wr.hold: and wr.zero_sent_at is None) or wr.hold: