Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-10-03 18:31:17 +1100
committerGitHub <noreply@github.com>2023-10-03 18:31:17 +1100
commitedbc13590366e93bb8a85eacf104d5613bc5793a (patch)
treed26ddd0700b669f747522ae62ba1d71df1ff27d6 /archinstall/lib/menu
parent5c903df55fac449baae1e9cc23b04f6beeb55364 (diff)
Extend the mypy checks (#2120)
* Extend the mypy checks * Update * Update * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/menu')
-rw-r--r--archinstall/lib/menu/abstract_menu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/menu/abstract_menu.py b/archinstall/lib/menu/abstract_menu.py
index 306c500a..053f3c30 100644
--- a/archinstall/lib/menu/abstract_menu.py
+++ b/archinstall/lib/menu/abstract_menu.py
@@ -14,7 +14,7 @@ class Selector:
def __init__(
self,
description: str,
- func: Optional[Callable[[str], Any]] = None,
+ func: Optional[Callable[[Any], Any]] = None,
display_func: Optional[Callable] = None,
default: Optional[Any] = None,
enabled: bool = False,