Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion archinstall/lib/models/mirrors.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def validate_score(cls, value: float) -> int | None:
return value

@model_validator(mode='after')
def debug_output(self) -> 'MirrorStatusEntryV3':
def debug_output(self) -> Self:
from ..args import arch_config_handler

self._hostname, *port = urllib.parse.urlparse(self.url).netloc.split(':', 1)
Expand Down
6 changes: 3 additions & 3 deletions archinstall/tui/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ class MenuKeys(Enum):
SCROLL_DOWN = frozenset({338})

@classmethod
def from_ord(cls, key: int) -> list['MenuKeys']:
matches = []
def from_ord(cls, key: int) -> list[Self]:
matches: list[Self] = []

for group in MenuKeys:
for group in cls:
if key in group.value:
matches.append(group)

Expand Down