Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Oct 12, 2024
1 parent 8963996 commit 20cb88c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .makim.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 1.0.0
shell: bash
backend: bash
groups:
clean:
env-file: .env
Expand Down
8 changes: 4 additions & 4 deletions src/sugar/extensions/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def plot_stats(self) -> None:
)


class StatsPlotWidget(Widget):
class StatsPlotWidget(Widget): # type: ignore
"""Plot Docker Stats Widget."""

content: Reactive[str] = Reactive('')
Expand All @@ -215,7 +215,7 @@ def __init__(
) -> None:
"""Initialize StatsPlotWidget."""
self.container_names = container_names
super().__init__(*args, **kwargs) # type: ignore
super().__init__(*args, **kwargs)

def on_mount(self) -> None:
"""Set up the widget."""
Expand Down Expand Up @@ -245,7 +245,7 @@ def render(self) -> Text:
return Text.from_ansi(self.content)


class StatsPlotApp(App[str]):
class StatsPlotApp(App[str]): # type: ignore
"""StatsPlotApp app class."""

TITLE = 'Sugar Containers Stats'
Expand All @@ -256,7 +256,7 @@ def __init__(
) -> None:
"""Initialize StatsPlotApp."""
self.container_names = container_names
super().__init__(*args, **kwargs) # type: ignore
super().__init__(*args, **kwargs)

def compose(self) -> ComposeResult:
"""Compose the app."""
Expand Down

0 comments on commit 20cb88c

Please sign in to comment.