Skip to content

Commit 0b4e04a

Browse files
committed
chore: Update ruff pre-commit hook to v0.14.10 and fix formatting
Align pre-commit ruff version with project dependency (v0.8.3 → v0.14.10) to resolve formatting disagreements between pre-commit and CI checks.
1 parent 5be5b26 commit 0b4e04a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.8.3
3+
rev: v0.14.10
44
hooks:
55
- id: ruff
66
args: [--fix]

tests/unit/aviato/test_sandbox.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2561,9 +2561,9 @@ async def response_generator() -> AsyncIterator[Any]:
25612561
assert close_received_time is not None, "Stdin close was never received"
25622562

25632563
# Stdin should be sent after ready (with some tolerance for timing)
2564-
assert (
2565-
stdin_received_time >= ready_sent_time
2566-
), f"Stdin received at {stdin_received_time} but ready sent at {ready_sent_time}"
2564+
assert stdin_received_time >= ready_sent_time, (
2565+
f"Stdin received at {stdin_received_time} but ready sent at {ready_sent_time}"
2566+
)
25672567

25682568
def test_exec_stdin_ready_timeout(self) -> None:
25692569
"""Test SandboxTimeoutError raised when ready signal not received."""

0 commit comments

Comments
 (0)