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/profile/profiles_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def remove_custom_profiles(self, profiles: Profile | list[Profile]) -> None:
self._profiles = [p for p in self.profiles if p.name not in remove_names]

def get_profile_by_name(self, name: str) -> Profile | None:
return next(filter(lambda x: x.name == name, self.profiles), None) # type: ignore[arg-type, union-attr]
return next(filter(lambda x: x.name == name, self.profiles), None)

def get_top_level_profiles(self) -> list[Profile]:
return [p for p in self.profiles if p.is_top_level_profile()]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Source = "https://github.com/archlinux/archinstall"
[project.optional-dependencies]
log = ["systemd_python==235"]
dev = [
"mypy==1.16.1",
"mypy==1.17.0",
"flake8==7.3.0",
"pre-commit==4.2.0",
"ruff==0.12.3",
Expand Down