Skip to content

Commit af30e65

Browse files
gloryfromcaclaude
andcommitted
chore(*): satisfy ruff and prettier on the lines this change touched
Formatting only, no behaviour. Two blank lines where ruff wants one after the import block, one call the removed countdown left too long for prettier, a blank line left behind by the deleted expiry test, and a trailing space. Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
1 parent 8e81029 commit af30e65

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎raven/permissions/gate.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
from raven.permissions.turn import current_tool_call_id, current_turn
5151
from raven.tracing import trace
5252

53-
5453
#: What one evidence value may carry to a prompt. A person reads a prompt; past
5554
#: a few screens nothing more is read, and the frame is built, serialised and
5655
#: drawn on the event loop. The filesystem tools cap what they read off disk,

‎raven/rpc/approval_broker.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ async def _ask(
214214
if answer is ApprovalChoice.ALLOW_ALWAYS:
215215
# The slot exists before the gate writes, so an undo that
216216
# arrives first has something to wait on rather than a miss.
217-
self._grants[approval_id] = _Grant(
218-
reported=asyncio.Event(), conversation_id=conversation_id
219-
)
217+
self._grants[approval_id] = _Grant(reported=asyncio.Event(), conversation_id=conversation_id)
220218
return ApprovalOutcome(choice=answer, feedback=feedback, pattern=pattern, approval_id=approval_id)
221219
except TimeoutError:
222220
close_reason = "timeout"

‎ui-tui/src/__tests__/approvalRoundTrip.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ describe('approval round-trip', () => {
232232
expect(approvalResponseAccepted({ ok: false })).toBe(false)
233233
expect(approvalResponseAccepted(null)).toBe(false)
234234
})
235-
236235
})
237236

238237
describe('an approval outlives the turn that opened it', () => {

‎ui-tui/src/components/prompts.tsx‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,13 @@ export function ApprovalPrompt({ cols = 80, onChoice, req, t }: ApprovalPromptPr
189189
))}
190190

191191
<Text color={t.color.muted}>
192-
{tr('gui.confirm.keys', 'up/down select · Enter confirm · 1-{count} quick pick · Tab add note · Ctrl+C deny', {
193-
count: String(options.length)
194-
})}
192+
{tr(
193+
'gui.confirm.keys',
194+
'up/down select · Enter confirm · 1-{count} quick pick · Tab add note · Ctrl+C deny',
195+
{
196+
count: String(options.length)
197+
}
198+
)}
195199
</Text>
196200
</>
197201
)}

‎ui-web/src/features/composer/approve.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const NO_DEADLINE = 'noDeadline'
5252
reach one are in two modules, and a second copy of this rule is how one of
5353
them comes to disagree with the other. */
5454
export const sparePendingApproval = (el: HTMLElement): boolean =>
55-
el.dataset[NO_DEADLINE] === '1'
55+
el.dataset[NO_DEADLINE] === '1'
5656

5757
export interface Approval {
5858
/* Takes the sheet down without answering. For a caller that has learned the

0 commit comments

Comments
 (0)