LoginSignup
4
1

More than 1 year has passed since last update.

【メモ】JupyterLabでbalck, isortを使用する方法

Posted at
  • 製造業出身のデータサイエンティストがお送りする記事
  • 今回は、JupyterLabでbalck, isortを使用する方法をメモとして残しておきます。

JupyterLabでbalck, isortを使えるようにする方法

ライブラリーのインストール

pip install black isort
pip install jupyterlab_code_formatter

Jupyterlab Code Formatterをインストールする必要がございます。

JupyterLabの設定方法

  1. Settings/Advanced Seetings Editor をクリックします。

スクリーンショット 2022-03-19 19.41.31.jpg

  1. Jupyterlab Code Formatterで各種設定します。

スクリーンショット 2022-03-19 19.43.22.jpg

スクリーンショット 2022-03-19 19.43.42.jpg

上記設定を行う事で、JupyterLabでbalck, isortを使用できます。

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1