Skip to content

Commit

Permalink
ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSullivan7 committed Apr 9, 2024
1 parent 47905e4 commit c174cce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion mantidimaging/gui/windows/main/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def _window_ready(self) -> None:
perf_logger.info(f"Mantid Imaging ready in {time.monotonic() - process_start_time}")
super()._window_ready()


def setup_shortcuts(self):
self.actionLoadDataset.triggered.connect(self.show_image_load_dialog)
self.actionLoadImages.triggered.connect(self.load_image_stack)
Expand Down
4 changes: 2 additions & 2 deletions mantidimaging/gui/windows/settings/presenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@


class SettingsWindowPresenter(BasePresenter):
view: 'SettingsWindowView'
view: SettingsWindowView

def __init__(self, view: 'SettingsWindowView', main_window: 'MainWindowView'):
def __init__(self, view: SettingsWindowView, main_window: MainWindowView):
super().__init__(view)
self.view = view
self.main_window = main_window
Expand Down
2 changes: 1 addition & 1 deletion mantidimaging/gui/windows/settings/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SettingsWindowView(BaseMainWindowView, QtStyleTools):
menuFontSizeChoice: QComboBox
darkModeCheckBox: QCheckBox

def __init__(self, main_window: 'MainWindowView'):
def __init__(self, main_window: MainWindowView):
super().__init__(None, 'gui/ui/settings_window.ui')
self.setWindowTitle('Settings')
self.main_window = main_window
Expand Down

0 comments on commit c174cce

Please sign in to comment.