Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMicroNova committed Dec 12, 2024
1 parent 337e7dd commit 405d213
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/stat-collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class StreamUsageSchema(BaseModel):
runtime_weight: int = 0
peak_runtime: int = 0


def consume(self, source_info: list, poll_count: int, timediff: timedelta):
"""Consumes a list of source["info"] json blobs and updates stream statistics tracker with information found within"""
stream_names = [item["name"] for item in source_info]
Expand Down Expand Up @@ -156,7 +155,6 @@ def record_logs(self):
logs = result.stdout.splitlines()
self.notable_logs.extend([log for log in logs if log not in self.notable_logs])


def get_state(self):
"""Gets system state, saves to relevant places"""
state = requests.get("http://localhost/api", timeout=1)
Expand Down

0 comments on commit 405d213

Please sign in to comment.