bundles / IPython latest / IPython / terminal / interactiveshell / black_reformat_handler
function
IPython.terminal.interactiveshell:black_reformat_handler
source: /dev/ipython/IPython/terminal/interactiveshell.py:136
Signature
def black_reformat_handler(text_before_cursor)Summary
We do not need to protect against error, this is taken care at a higher level where any reformat error is ignored. Indeed we may call reformatting on incomplete code.
Aliases
IPython.terminal.interactiveshell.black_reformat_handler