diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index e435b9c5..e9b10505 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -2008,7 +2008,7 @@ class Installer: # In accordance with https://github.com/archlinux/archinstall/issues/107#issuecomment-841701968 # Setting an empty keymap first, allows the subsequent call to set layout for both console and x11. with Boot(self.target) as session: - os.system('systemd-run --machine=archinstall --pty localectl set-keymap ""') # type: ignore[deprecated, unused-ignore] + os.system('systemd-run --machine=archinstall --pty localectl set-keymap ""') # type: ignore[deprecated] try: session.SysCommand(['localectl', 'set-keymap', language]) @@ -2074,7 +2074,7 @@ class Installer: def accessibility_tools_in_use() -> bool: - return os.system('systemctl is-active --quiet espeakup.service') == 0 # type: ignore[deprecated, unused-ignore] + return os.system('systemctl is-active --quiet espeakup.service') == 0 # type: ignore[deprecated] def run_custom_user_commands(commands: list[str], installation: Installer) -> None: diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py index 68e4b309..5683ab9e 100644 --- a/archinstall/scripts/guided.py +++ b/archinstall/scripts/guided.py @@ -188,7 +188,7 @@ def perform_installation( case PostInstallationAction.EXIT: pass case PostInstallationAction.REBOOT: - _ = os.system('reboot') # type: ignore[deprecated, unused-ignore] + _ = os.system('reboot') # type: ignore[deprecated] case PostInstallationAction.CHROOT: try: installation.drop_to_shell() diff --git a/archinstall/tui/curses_menu.py b/archinstall/tui/curses_menu.py index c0b1f022..b64a800c 100644 --- a/archinstall/tui/curses_menu.py +++ b/archinstall/tui/curses_menu.py @@ -1310,7 +1310,7 @@ class Tui: clear_screen: bool = False, ) -> None: if clear_screen: - os.system('clear') # type: ignore[deprecated, unused-ignore] + os.system('clear') # type: ignore[deprecated] if Tui._t is None: print(text, end=endl) @@ -1355,7 +1355,7 @@ class Tui: return component.kickoff(self._screen) def _reset_terminal(self) -> None: - os.system('reset') # type: ignore[deprecated, unused-ignore] + os.system('reset') # type: ignore[deprecated] def _set_up_colors(self) -> None: curses.init_pair(STYLE.NORMAL.value, curses.COLOR_WHITE, curses.COLOR_BLACK)