Skip to content

Use a match statement for PasswordStrength enum values#4619

Open
correctmost wants to merge 1 commit into
archlinux:masterfrom
correctmost:cm/use-match
Open

Use a match statement for PasswordStrength enum values#4619
correctmost wants to merge 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
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.

1 participant