Skip to content

Use a match statement for PasswordStrength enum values#4619

Merged
svartkanin merged 1 commit into
archlinux:masterfrom
correctmost:cm/use-match
Jul 12, 2026
Merged

Use a match statement for PasswordStrength enum values#4619
svartkanin merged 1 commit into
archlinux:masterfrom
correctmost:cm/use-match

Conversation

@correctmost

Copy link
Copy Markdown
Contributor

PR Description:

This unblocks the upgrade to mypy 2.2.0, which now flags the unreachable return None statement.

archinstall/lib/menu/util.py:29: error: Statement is unreachable  [unreachable]

Related PR: python/mypy#21456

Tests and Checks

  • I have tested the code!

This unblocks the upgrade to mypy 2.2.0, which now flags the
unreachable "return None" statement.
@correctmost correctmost requested a review from Torxed as a code owner July 8, 2026 03:37
@svartkanin svartkanin merged commit 8902d2e into archlinux:master Jul 12, 2026
11 checks passed
@correctmost correctmost deleted the cm/use-match branch July 12, 2026 15:47
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