From 78c072a5b7c82f71647e9d67814c6f1ae7afc77d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 22:50:25 +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 f3ea06de00..69718bfd6b 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 38de6a28d0..0e7ce3a6c1 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