Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CID: Remove prints, some small cleanup+type hints #433

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

sonic2kk
Copy link
Contributor

@sonic2kk sonic2kk commented Jul 28, 2024

For #432 I was in and around the code for the Custom Install Dialog and found a couple of spots where I could make some changes.

  • Remove unnecessary prints
  • Add type hints for a couple of potentially ambiguous scenarios (not sure if we want to go all the day with the hints here, just added it for places where it might not be immediately obvious, mainly the os.path.expanduser calls)
  • Reworked set_selected_launcher to be less nested ("Flat is better than nested" 😉)
  • Refactor + Type Hint for util#get_combobox_index_by_value to be less nested`

@sonic2kk sonic2kk marked this pull request as draft July 28, 2024 18:47
@sonic2kk sonic2kk marked this pull request as ready for review July 28, 2024 18:56
@DavidoTek DavidoTek merged commit cb0cd82 into DavidoTek:main Jul 31, 2024
1 check passed
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