mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-22 01:04:35 +00:00
refactor: split QtDriver into View and Controller to follow MVC model (#935)
* fix: incorrect qt enum accesses * refactor: clean up main_window.py and reenable ruff checks for it * refactor: completely reorganise main_window.py * refactor: factor out regions into separate methods * refactor: move preview_panel to MainWindow * refactor: move file menu construction to MainMenuBar * refactor: move edit menu construction to MainMenuBar * refactor: move view menu construction to MainMenuBar * refactor: move tools menu construction to MainMenuBar * refactor: move macros menu construction to MainMenuBar * refactor: move help menu construction to MainMenuBar * refactor: move ui construction code out of QtDriver and into MainWindow * fix: remove unnecessary imports * fix: tests were failing
This commit is contained in:
@@ -97,7 +97,7 @@ reportUnknownMemberType = false
|
||||
reportUnusedCallResult = false
|
||||
|
||||
[tool.ruff]
|
||||
exclude = ["main_window.py", "home_ui.py", "resources.py", "resources_rc.py"]
|
||||
exclude = ["home_ui.py", "resources.py", "resources_rc.py"]
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
|
||||
Reference in New Issue
Block a user