Skip to content

Commit e14c6fb

Browse files
committed
Lint
1 parent 7a5de8f commit e14c6fb

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/dstack/_internal/core/backends/local/compute.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ class LocalCompute(
2828
ComputeWithVolumeSupport,
2929
Compute,
3030
):
31-
def get_offers(
32-
self, requirements: Requirements
33-
) -> List[InstanceOfferWithAvailability]:
31+
def get_offers(self, requirements: Requirements) -> List[InstanceOfferWithAvailability]:
3432
return [
3533
InstanceOfferWithAvailability(
3634
backend=BackendType.LOCAL,

src/dstack/_internal/core/backends/tensordock/compute.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ def __init__(self, config: TensorDockConfig):
3939
self.config = config
4040
self.api_client = TensorDockAPIClient(config.creds.api_key, config.creds.api_token)
4141

42-
def get_offers(
43-
self, requirements: Requirements
44-
) -> List[InstanceOfferWithAvailability]:
42+
def get_offers(self, requirements: Requirements) -> List[InstanceOfferWithAvailability]:
4543
offers = get_catalog_offers(
4644
backend=BackendType.TENSORDOCK,
4745
requirements=requirements,

0 commit comments

Comments
 (0)