Skip to content

Remove underscore from _FrameDim because it's used externally#3547

Merged
svartkanin merged 1 commit intoarchlinux:masterfrom
correctmost:cm/rename-framedim
May 30, 2025
Merged

Remove underscore from _FrameDim because it's used externally#3547
svartkanin merged 1 commit intoarchlinux:masterfrom
correctmost:cm/rename-framedim

Conversation

@correctmost
Copy link
Copy Markdown
Contributor

PR Description:

This commit fixes a reportUnusedClass warning from Pyright:

archinstall/archinstall/tui/types.py:137:7 - error: Class "_FrameDim" is not accessed (reportUnusedClass)

This commit fixes a reportUnusedClass warning from Pyright.
@correctmost correctmost requested a review from Torxed as a code owner May 29, 2025 23:04
@svartkanin svartkanin merged commit a5d995b into archlinux:master May 30, 2025
9 checks passed
@correctmost correctmost deleted the cm/rename-framedim branch May 30, 2025 08:43
@svartkanin
Copy link
Copy Markdown
Collaborator

The idea was to keep this private and internal only

@correctmost
Copy link
Copy Markdown
Contributor Author

The idea was to keep this private and internal only

Would it be better to move the class definition to archinstall/tui/curses_menu.py and restore the underscore?

@svartkanin
Copy link
Copy Markdown
Collaborator

All good, lets leave this for now

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.

3 participants