Skip to content

Commit f71d16d

Browse files
raballewclaude
andcommitted
fix: resolve ruff lint violations
Break long function signature in delete_cluster_by_name to stay within 120-char line limit and remove unused json import from controller_test. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5d1d961 commit f71d16d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

python/packages/jumpstarter-kubernetes/jumpstarter_kubernetes/cluster/operations.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ def validate_cluster_type_selection(
5151

5252

5353
async def delete_cluster_by_name( # noqa: C901
54-
cluster_name: str, cluster_type: Optional[str] = None, force: bool = False, callback: Optional[OutputCallback] = None
54+
cluster_name: str,
55+
cluster_type: Optional[str] = None,
56+
force: bool = False,
57+
callback: Optional[OutputCallback] = None,
5558
) -> None:
5659
"""Delete a cluster by name, with auto-detection if type not specified."""
5760
if callback is None:

python/packages/jumpstarter-kubernetes/jumpstarter_kubernetes/controller_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for controller version resolution."""
22

3-
import json
43
from unittest.mock import AsyncMock, patch
54

65
import pytest

0 commit comments

Comments
 (0)