bundles / IPython 9.14.0.dev / IPython / terminal / interactiveshell / black_reformat_handler
function
IPython.terminal.interactiveshell:black_reformat_handler
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