-
-
Notifications
You must be signed in to change notification settings - Fork 413
Refactor and Fixes: Type Hints, Import Issues, and Code Formatting in UI code base #605
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
Refactor and Fixes: Type Hints, Import Issues, and Code Formatting in UI code base #605
Conversation
37d1aca
to
d858ff0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple comments, all in all a lot of very nice refactoring though!
3b8822f
to
3975a32
Compare
- Refactored code to address type hint issues across multiple files. - Fixed import issues. - Resolved `mypy` and `pytest` errors. - Formatted with ruff. - Removal of few unnecessary lambdas. - Removal of `home_ui.py`, `home.ui` refactor: in main_window.py, removed 'Qt User Interface Compiler' warning and unwanted functions.
3975a32
to
e9d8912
Compare
Hey! I really appreciate your work on this, it cleans up and fixes a lot of nice stuff in the project. However due to the nature of far-reaching refactors like this, it pretty quickly started to accrue merge conflicts as development was focused on wrapping up 9.5. This always ends up happening to PRs of this nature, which is why I have a notice in the contributing.md about refactors like this. Nonetheless, there's some good gems in here that I've taken note of for the future. Many of the changes in here have also already made their way into the program as part of little cleanup efforts that naturally fit into relevant PRs for the affected areas. Some of these changes implemented include:
As for great changes here that still haven't been added elsewhere, there's:
There's also a few other changes in here that I don't think should be added in the future, including the added Overall though, this PR has been a great help at informing improvements to the project, and continues to be so - even if unfortunately I'm afraid it's past the point of pulling due to the numerous conflicts. Some smaller, more focused PRs focusing on the remaining changes would be the way to go moving forward, if the changes themselves don't already get implemented in dedicated feature PRs. Thank you again for your work on this, I really appreciate your contributions here! |
Remove unused UI files (Port #605) Co-Authored-By: VasigaranAndAngel <72515046+VasigaranAndAngel@users.noreply.github.com>
mypy
andpytest
errors.home_ui.py
,home.ui
files.