Skip to content

Commit bd92eb4

Browse files
author
Nick Selpa
committed
Linted with black
1 parent 90d3b32 commit bd92eb4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cloudendure/cloudendure.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,9 @@ def get_machine_sync_details(self) -> List[Any]:
490490

491491
def inspect_ce_project(self, check_type: str) -> List[Any]:
492492
if not check_type:
493-
print(f"ERROR: Unknown check_type of '{check_type}'; Please use 'not_synced', 'not_started', or 'not_current' ...")
493+
print(
494+
f"ERROR: Unknown check_type of '{check_type}'; Please use 'not_synced', 'not_started', or 'not_current' ..."
495+
)
494496
return
495497
result: List[Any] = []
496498
sync_report: List[Any] = self.get_machine_sync_details()
@@ -514,8 +516,8 @@ def not_started(self, machine) -> bool:
514516
return False
515517
else:
516518
return True
517-
518-
def not_current(self, machine, delta_seconds: int=86400) -> bool:
519+
520+
def not_current(self, machine, delta_seconds: int = 86400) -> bool:
519521
now: datetime = datetime.now(timezone.utc)
520522
machine_last_seen: datetime = datetime.fromisoformat(machine["last_seen_utc"])
521523
last_seen_delta: datetime = now - machine_last_seen

0 commit comments

Comments
 (0)