Skip to content

Commit ad4d8e0

Browse files
committed
lint
1 parent e98d51a commit ad4d8e0

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

covenance/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from .response_adapter import ResponseTypeAdapter
3131

3232
# Registry of all Covenance clients created in this process
33-
_all_clients: list["Covenance"] = []
33+
_all_clients: list[Covenance] = []
3434

3535

3636
class Covenance:
@@ -73,7 +73,7 @@ def __init__(
7373
)
7474
self._clients = self._build_clients() if has_override else None
7575
self._validate_explicit_keys()
76-
76+
7777
# Register this client in the global registry
7878
_all_clients.append(self)
7979

@@ -464,7 +464,7 @@ def print_usage(self, title: str | None = None, cost_format: str = "plain") -> N
464464
_default_client = Covenance(label="default client", records_dir=get_env_records_dir())
465465

466466

467-
def get_all_clients() -> list["Covenance"]:
467+
def get_all_clients() -> list[Covenance]:
468468
"""Return list of all Covenance clients created in this process."""
469469
return _all_clients.copy()
470470

covenance/record.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,11 @@ def print_usage(
332332
"""
333333
if records is None and all_clients:
334334
from .client import get_all_records
335+
335336
records = get_all_records()
336337
if title == "LLM Usage Summary":
337338
title = "LLM Usage Summary (all clients)"
338-
339+
339340
summary = usage_summary(records)
340341

341342
if summary["calls"] == 0:

covenance/visual.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def print_call_timeline(
7575
if records is None:
7676
if all_clients:
7777
from covenance.client import get_all_records
78+
7879
records = get_all_records()
7980
else:
8081
records = get_records()

0 commit comments

Comments
 (0)