From af4b8a725129d74a7d1361d7dd91ff68154a95ac Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 29 Mar 2022 10:31:29 +0200 Subject: Fixed flake8 --- archinstall/lib/menu/global_menu.py | 1 - archinstall/lib/menu/selection_menu.py | 33 --------------------------------- 2 files changed, 34 deletions(-) diff --git a/archinstall/lib/menu/global_menu.py b/archinstall/lib/menu/global_menu.py index 4274f7ee..1cd39553 100644 --- a/archinstall/lib/menu/global_menu.py +++ b/archinstall/lib/menu/global_menu.py @@ -257,7 +257,6 @@ class GlobalMenu(GeneralMenu): if choice == 'no': exit(1) - return harddrives def _select_profile(self): diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py index 648e3817..18313360 100644 --- a/archinstall/lib/menu/selection_menu.py +++ b/archinstall/lib/menu/selection_menu.py @@ -7,40 +7,7 @@ from typing import Callable, Any, List, Iterator, Tuple, Optional, Dict, TYPE_CH from .menu import Menu from ..locale_helpers import set_keyboard_language from ..output import log -from ..storage import storage from ..translation import Translation -from ..general import ( - SysCommand, - secret -) -from ..hardware import has_uefi -from ..profiles import is_desktop_profile -from ..disk.helpers import encrypted_partitions -from ..user_interaction.system_conf import ( - select_harddrives, - select_kernel, - ask_for_bootloader, - ask_for_swap -) -from ..user_interaction.general_conf import ( - ask_ntp, - ask_for_a_timezone, - select_additional_repositories, - ask_additional_packages_to_install, - ask_for_audio_selection, - ask_hostname, - select_mirror_regions, - select_profile -) -from ..user_interaction.utils import get_password -from ..user_interaction.network_conf import ask_to_configure_network -from ..user_interaction.save_conf import save_config -from ..user_interaction.disk_conf import select_disk_layout -from ..user_interaction.partitioning_conf import select_encrypted_partitions -from ..user_interaction.manage_users_conf import ( - ask_for_additional_users, - ask_for_superuser_account -) if TYPE_CHECKING: _: Any -- cgit v1.2.3-70-g09d2