diff --git a/spinetoolbox/spine_engine_worker.py b/spinetoolbox/spine_engine_worker.py
index feaaea741..d6599e499 100644
--- a/spinetoolbox/spine_engine_worker.py
+++ b/spinetoolbox/spine_engine_worker.py
@@ -23,6 +23,7 @@
class GUIUpdater(QObject):
"""Contains slots for updating UI widgets based on messages received from the engine worker."""
+
@Slot(list)
def handle_dag_execution_started(self, project_items):
for item in project_items:
diff --git a/spinetoolbox/widgets/settings_widget.py b/spinetoolbox/widgets/settings_widget.py
index 5b9a6e429..ccfa0253d 100644
--- a/spinetoolbox/widgets/settings_widget.py
+++ b/spinetoolbox/widgets/settings_widget.py
@@ -435,8 +435,10 @@ def _update_remote_execution_page_widget_status(self, state):
@Slot(bool)
def _remove_all_settings(self, _=False):
- msg = ("Do you want to reset all settings to factory defaults? Spine Toolbox will be shutdown "
- "for the changes to take effect.
Continue?")
+ msg = (
+ "Do you want to reset all settings to factory defaults? Spine Toolbox will be shutdown "
+ "for the changes to take effect.
Continue?"
+ )
box_title = "Close app and return to factory defaults?"
box = QMessageBox(
QMessageBox.Icon.Question,
@@ -1050,7 +1052,7 @@ def _edit_remote_host(self, new_text):
"""
prep_str = "tcp://"
if new_text.startswith(prep_str): # prep str already present
- new = new_text[len(prep_str):]
+ new = new_text[len(prep_str) :]
else: # First letter has been entered
new = new_text
# Clear when only prep str present or when clear (x) button is clicked