From 5ab1ecc6ba59be4c774544670822c6894e0caf21 2022-10-29 11:45:22 From: Matthias Bussonnier Date: 2022-10-29 11:45:22 Subject: [PATCH] please formatter --- diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index 0250184..c867b55 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -711,9 +711,8 @@ class TerminalInteractiveShell(InteractiveShell): active_eventloop = None def enable_gui(self, gui=None): - if gui and (gui not in {'inline', 'webagg'}) : - self.active_eventloop, self._inputhook =\ - get_inputhook_name_and_func(gui) + if gui and (gui not in {"inline", "webagg"}): + self.active_eventloop, self._inputhook = get_inputhook_name_and_func(gui) else: self.active_eventloop = self._inputhook = None