##// END OF EJS Templates
Revert "enable formatting by default"...
Adam Johnson -
Show More
@@ -200,7 +200,7 b' class TerminalInteractiveShell(InteractiveShell):'
200 200 ).tag(config=True)
201 201
202 202 autoformatter = Unicode(
203 "black",
203 None,
204 204 help="Autoformatter to reformat Terminal code. Can be `'black'`, `'yapf'` or `None`",
205 205 allow_none=True
206 206 ).tag(config=True)
@@ -344,12 +344,11 b' For more information please see the following unit test : ``extensions/tests/tes'
344 344 Auto formatting with black in the CLI
345 345 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 346
347 If ``black`` is installed in the same environment as IPython, terminal IPython
348 will now *by default* reformat the code in the CLI when possible. You can
349 disable this with ``--TerminalInteractiveShell.autoformatter=None``.
350
351 347 This feature was present in 7.x, but disabled by default.
352 348
349 In 8.0, input was automatically reformatted with Black when black was installed.
350 This feature has been reverted for the time being.
351 You can re-enable it by setting ``TerminalInteractiveShell.autoformatter`` to ``"black"``
353 352
354 353 History Range Glob feature
355 354 ~~~~~~~~~~~~~~~~~~~~~~~~~~
General Comments 0
You need to be logged in to leave comments. Login now