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 <blackrabbit256@gmail.com>2022-03-01 01:45:08 +1100
committerGitHub <noreply@github.com>2022-02-28 15:45:08 +0100
commitfa87d85708331ad45f28906217f94937bae474fe (patch)
tree2c0dec90275a7c262cd99db5490215f7aff51694 /archinstall/lib/menu
parent0fed839110983f024edda88c10d9cd55be9ae122 (diff)
Fix (some) mypy things (#996)
* Fix mypy things * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/menu')
-rw-r--r--archinstall/lib/menu/menu.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archinstall/lib/menu/menu.py b/archinstall/lib/menu/menu.py
index 962dcc4d..1d5d497e 100644
--- a/archinstall/lib/menu/menu.py
+++ b/archinstall/lib/menu/menu.py
@@ -1,4 +1,4 @@
-from typing import Dict, List, Union, Any
+from typing import Dict, List, Union, Any, TYPE_CHECKING
from archinstall.lib.menu.simple_menu import TerminalMenu
from ..exceptions import RequirementError
@@ -8,6 +8,10 @@ from collections.abc import Iterable
import sys
import logging
+if TYPE_CHECKING:
+ _: Any
+
+
class Menu(TerminalMenu):
def __init__(
self,