From 20cb88c420b10f6403027782d84aaa0bf4eaeb18 Mon Sep 17 00:00:00 2001 From: Ivan Ogasawara Date: Fri, 11 Oct 2024 22:14:50 -0400 Subject: [PATCH] fix linter --- .makim.yaml | 2 +- src/sugar/extensions/stats.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.makim.yaml b/.makim.yaml index 29332c4..ac02a78 100644 --- a/.makim.yaml +++ b/.makim.yaml @@ -1,5 +1,5 @@ version: 1.0.0 -shell: bash +backend: bash groups: clean: env-file: .env diff --git a/src/sugar/extensions/stats.py b/src/sugar/extensions/stats.py index 76d1fc3..576c93b 100644 --- a/src/sugar/extensions/stats.py +++ b/src/sugar/extensions/stats.py @@ -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('') @@ -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.""" @@ -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' @@ -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."""