From 77b5ce6c43905f09eb4fdd604f3f97577696d299 2023-12-17 15:28:01 From: Matthias Bussonnier Date: 2023-12-17 15:28:01 Subject: [PATCH] reformat using daker --- diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index 77acb51..532287f 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -747,7 +747,7 @@ class TerminalInteractiveShell(InteractiveShell): def get_message(): return PygmentsTokens(self.prompts.in_prompt_tokens()) - if self.editing_mode == 'emacs' and self.prompt_line_number_format == '': + if self.editing_mode == "emacs" and self.prompt_line_number_format == "": # with emacs mode the prompt is (usually) static, so we call only # the function once. With VI mode it can toggle between [ins] and # [nor] so we can't precompute.