Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
svartkanin committed Oct 12, 2024
1 parent 04f3ae0 commit c50eb3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions examples/interactive_installation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pathlib import Path
from typing import Any, TYPE_CHECKING, Optional
from typing import Optional

import archinstall
from archinstall import info, debug
Expand All @@ -15,9 +15,6 @@
from archinstall.lib.interactions.general_conf import ask_chroot
from archinstall.tui import Tui

if TYPE_CHECKING:
_: Any


if archinstall.arguments.get('help'):
print("See `man archinstall` for help.")
Expand Down
5 changes: 1 addition & 4 deletions examples/minimal_installation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pathlib import Path
from typing import TYPE_CHECKING, Any, List
from typing import List

import archinstall
from archinstall import info, debug
Expand All @@ -11,9 +11,6 @@
from archinstall.lib import disk
from archinstall.tui import Tui

if TYPE_CHECKING:
_: Any


info("Minimal only supports:")
info(" * Being installed to a single disk")
Expand Down

0 comments on commit c50eb3e

Please sign in to comment.