Skip to content

Commit cff909f

Browse files
committed
lint fixes
1 parent 23f4f41 commit cff909f

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

tests/sdk/async_devbox/test_interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from tests.sdk.conftest import MockExecutionView
1616
from runloop_api_client.sdk import AsyncDevbox
17-
from runloop_api_client._types import NotGiven, Omit
17+
from runloop_api_client._types import Omit, NotGiven
1818

1919

2020
class TestAsyncCommandInterface:

tests/sdk/devbox/test_interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from tests.sdk.conftest import MockExecutionView
1616
from runloop_api_client.sdk import Devbox
17-
from runloop_api_client._types import NotGiven, Omit
17+
from runloop_api_client._types import Omit, NotGiven
1818

1919

2020
class TestCommandInterface:

tests/smoketests/sdk/test_async_sdk.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ async def test_legacy_api_access(self, async_sdk_client: AsyncRunloopSDK) -> Non
3030
assert async_sdk_client.api.devboxes is not None
3131
assert async_sdk_client.api.blueprints is not None
3232
assert async_sdk_client.api.objects is not None
33-

tests/smoketests/sdk/test_async_snapshot.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ async def test_snapshot_with_commit_message(self, async_sdk_client: AsyncRunloop
6868
info = await snapshot.get_info()
6969
assert info.status == "complete"
7070
# Check if commit message is preserved
71-
assert info.snapshot is not None and info.snapshot.commit_message == "Test async commit message from SDK"
71+
assert (
72+
info.snapshot is not None and info.snapshot.commit_message == "Test async commit message from SDK"
73+
)
7274
finally:
7375
await snapshot.delete()
7476
finally:
@@ -118,11 +120,11 @@ async def test_snapshot_delete(self, async_sdk_client: AsyncRunloopSDK) -> None:
118120

119121
snapshot_id = snapshot.id
120122
assert snapshot_id is not None
121-
123+
122124
# Delete should succeed without error
123125
result = await snapshot.delete()
124126
assert result is not None
125-
127+
126128
# Verify it's deleted by checking the status
127129
info = await snapshot.get_info()
128130
# After deletion, the snapshot should have a status indicating it's deleted

tests/smoketests/sdk/test_blueprint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def test_blueprint_delete(self, sdk_client: RunloopSDK) -> None:
9292
info = sdk_client.api.blueprints.retrieve(blueprint_id)
9393
assert info.state == "deleted"
9494

95+
9596
class TestBlueprintCreationVariations:
9697
"""Test different blueprint creation scenarios."""
9798

tests/smoketests/sdk/test_sdk.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ def test_legacy_api_access(self, sdk_client: RunloopSDK) -> None:
3030
assert sdk_client.api.devboxes is not None
3131
assert sdk_client.api.blueprints is not None
3232
assert sdk_client.api.objects is not None
33-

tests/smoketests/sdk/test_snapshot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ def test_snapshot_delete(self, sdk_client: RunloopSDK) -> None:
118118

119119
snapshot_id = snapshot.id
120120
assert snapshot_id is not None
121-
121+
122122
# Delete should succeed without error
123123
result = snapshot.delete()
124124
assert result is not None
125-
125+
126126
# Verify it's deleted by checking the status
127127
info = snapshot.get_info()
128128
# After deletion, the snapshot should have a status indicating it's deleted

0 commit comments

Comments
 (0)