#black in jupyter, # CTRL + B
Jupyter Notebook with Black
자동 포맷터 기능 추가하기.
Step 1.
pip install jupyter_nbextensions_configurator jupyter_contrib_nbextensions
Step 2.
sudo jupyter nbextension install https://github.com/drillan/jupyter-black/archive/master.zip
Step 3.
jupyter nbextension enable jupyter-black-master/jupyter-black
Step 4.
jupyter notebook --allow-root
그러면,
이와같은 코드를,
단축키 CTRL + B