Skip to content

Fix urllib.parse import to avoid warnings with ty and Pyright#4425

Merged
svartkanin merged 1 commit intoarchlinux:masterfrom
correctmost:cm/fix-urlparse-import
Apr 14, 2026
Merged

Fix urllib.parse import to avoid warnings with ty and Pyright#4425
svartkanin merged 1 commit intoarchlinux:masterfrom
correctmost:cm/fix-urlparse-import

Conversation

@correctmost
Copy link
Copy Markdown
Contributor

PR Description:

This commit fixes these type checker warnings:

Pyright

archinstall/lib/mirror/mirror_handler.py:149:22 - error: "parse" is not a known attribute of module "urllib" (reportAttributeAccessIssue)

ty

archinstall/lib/mirror/mirror_handler.py:149:15: warning[possibly-missing-submodule] Submodule `parse` might not have been imported

@correctmost correctmost requested a review from Torxed as a code owner April 14, 2026 01:00
@svartkanin svartkanin merged commit 113cc7f into archlinux:master Apr 14, 2026
9 checks passed
@correctmost correctmost deleted the cm/fix-urlparse-import branch April 14, 2026 05:42
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