From 91a2744af1f0e7c1a2815ee6fe7d0ea1a621e30d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 22:19:55 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- khal/ui/__init__.py | 2 +- khal/ui/calendarwidget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/khal/ui/__init__.py b/khal/ui/__init__.py index f3ea06de0..69718bfd6 100644 --- a/khal/ui/__init__.py +++ b/khal/ui/__init__.py @@ -243,7 +243,7 @@ def __init__( set_focus_date_callback=None, **kwargs) -> None: self._init: bool = True - self.parent: 'ClassicView' = parent + self.parent: ClassicView = parent self.delete_status = delete_status self.toggle_delete_instance = toggle_delete_instance self.toggle_delete_all = toggle_delete_all diff --git a/khal/ui/calendarwidget.py b/khal/ui/calendarwidget.py index 38de6a28d..0e7ce3a6c 100644 --- a/khal/ui/calendarwidget.py +++ b/khal/ui/calendarwidget.py @@ -242,7 +242,7 @@ def __init__(self, walker: 'CalendarWalker') -> None: self.on_press = walker.on_press self._marked: Optional[MarkType] = None self._pos_old: Optional[Tuple[int, int]] = None - self.body: 'CalendarWalker' + self.body: CalendarWalker super().__init__(walker) @property