Skip to content

Move mount() to disk.utils#4232

Merged
svartkanin merged 1 commit intoarchlinux:masterfrom
codefiles:mv-mount-to-utils
Feb 16, 2026
Merged

Move mount() to disk.utils#4232
svartkanin merged 1 commit intoarchlinux:masterfrom
codefiles:mv-mount-to-utils

Conversation

@codefiles
Copy link
Contributor

Part of #4149

This is meant to work towards decoupling device_handler from installer.py so that importing it will not cause devices to be probed. None of the device_handler methods used in installer.py operate on properties of device_handler so they do not need a device probe to function.

@codefiles codefiles requested a review from Torxed as a code owner February 16, 2026 01:33
def find_lsblk_info(
dev_path: Path | str,
info: list[LsblkInfo],
info_list: list[LsblkInfo],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would seem like an unrelated change but with info being added to the imports just above this, pylint will give the following:
https://pylint.pycqa.org/en/latest/user_guide/messages/warning/redefined-outer-name.html

@svartkanin svartkanin merged commit 3b6f7db into archlinux:master Feb 16, 2026
9 checks passed
@codefiles codefiles deleted the mv-mount-to-utils branch February 16, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments