Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Cordoba <[email protected]>
  • Loading branch information
jsbautista and ccordoba12 authored Jan 31, 2025
1 parent bfdc182 commit 572b610
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyder/plugins/ipythonconsole/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def on_initialize(self):
# Main widget signals
# Connect signal to open preferences
widget.sig_open_preferences_requested.connect(
self._open_interpreter_preferences)
self._open_interpreter_preferences
)
widget.sig_append_to_history_requested.connect(
self.sig_append_to_history_requested)
widget.sig_switch_to_plugin_requested.connect(self.switch_to_plugin)
Expand Down
1 change: 1 addition & 0 deletions spyder/plugins/ipythonconsole/widgets/main_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class IPythonConsoleWidget(PluginMainWidget, CachedKernelMixin):
"""
Signal to open the main interpreter preferences.
"""

sig_append_to_history_requested = Signal(str, str)
"""
This signal is emitted when the plugin requires to add commands to a
Expand Down

0 comments on commit 572b610

Please sign in to comment.