Skip to content

Commit

Permalink
Fix line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
DubiousCactus committed Jul 27, 2024
1 parent b16e296 commit a8e35b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap/tui/training_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def watch_marker(self) -> None:

def action_marker(self) -> None:
"""Cycle to the next marker type."""
self.marker = next(self._markers)
self.marker = next(self._markers) # skipcq: PTC-W0063

def print(self, message: Any):
logger: RichLog = self.query_one(RichLog)
Expand Down
5 changes: 4 additions & 1 deletion bootstrap/tui/widgets/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ def replot(self) -> None:
+ ", ".join(
[
f"{metric_name}={metric_value:.2e} "
for metric_name, metric_value in self._best_model.metrics.items()
for (
metric_name,
metric_value,
) in self._best_model.metrics.items()
]
)
+ "]"
Expand Down

0 comments on commit a8e35b0

Please sign in to comment.