Add TYPE_CHECKING to commands/self_update.py
MODIFY
plextraktsync/commands/self_update.py
plextraktsync/commands/self_update.py
-from typing import Optional
+from __future__ import annotations
+
+from typing import TYPE_CHECKING
import click
from plextraktsync.util.execp import execp
+if TYPE_CHECKING:
+ from typing import Optional
+
def has_previous_pr(pr: int):
from plextraktsync.util.packaging import pipx_installed

Add TYPE_CHECKING to commands/self_update.py