Skip to content

Commit 02ffccb

Browse files
committed
fix(lint): sort server_minted_idempotency_key import per ruff I001
CI on PR #53 (`test (3.11)` failure, others matrix-cancelled at fail-fast) surfaced `ruff check src/ I001` on the import block inside `NullRunRuntime._capture_server_minted_execution_id`: I001 Import block is un-sorted or un-formatted --> src/nullrun/runtime.py:2590:5 The block (added in the `fix(sdk)` commit) imported context helpers in this order: set_server_minted_execution_id set_server_minted_reservation_at set_server_minted_idempotency_key Ruff's alphabetic sort puts `idempotency` before `reservation`, so the fourth line is sorted up to the third slot. Pure cosmetic — no behaviour change, same set of imports. `ruff check src/` after fix: All checks passed. Verified on Python 3.10 / 3.11 / 3.12 locally before commit.
1 parent 9815c33 commit 02ffccb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nullrun/runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2592,8 +2592,8 @@ def _capture_server_minted_execution_id(response: dict[str, Any]) -> str | None:
25922592
from nullrun.context import (
25932593
clear_server_minted_execution_id,
25942594
set_server_minted_execution_id,
2595-
set_server_minted_reservation_at,
25962595
set_server_minted_idempotency_key,
2596+
set_server_minted_reservation_at,
25972597
)
25982598

25992599
raw = response.get("reservation_id") if isinstance(response, dict) else None

0 commit comments

Comments
 (0)