Black for jupyter notebook
pip install jupyter-black
To load:
%load_ext jupyter_black
It will automatically format all correct python code in the cells!
NB works much, much better with jupyterlab, in the notebook version it first executes the cell, then does black and hides cell output. It does warn about that everywhere though.
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus