From 26079ee5c3752dfd82635738aea117c99d25cbda Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 08:02:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- khal/settings/khal.spec | 2 +- khal/ui/editor.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/khal/settings/khal.spec b/khal/settings/khal.spec index 46513c1ff..ec4e8eefd 100644 --- a/khal/settings/khal.spec +++ b/khal/settings/khal.spec @@ -332,7 +332,7 @@ default_color = color(default='') # "low color mode" and foreground_high and background_high are used in "high # color mode" and mono if only monocolor is supported. If you don't want to set # a value for a certain color, use an empty string (`''`). -# Valid entries for low color mode are listed on the `urwid website +# Valid entries for low color mode are listed on the `urwid website # `_. For # high color mode you can use any valid 24-bit color value, e.g. `'#ff0000'`. # diff --git a/khal/ui/editor.py b/khal/ui/editor.py index 7a9a0c5c9..00a1a097d 100644 --- a/khal/ui/editor.py +++ b/khal/ui/editor.py @@ -20,7 +20,7 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. import datetime as dt -from typing import Callable, Dict, List, Literal, Optional, Tuple +from typing import TYPE_CHECKING, Callable, Dict, List, Literal, Optional, Tuple import urwid @@ -43,7 +43,6 @@ button, ) -from typing import TYPE_CHECKING if TYPE_CHECKING: import khal.khalendar.event