dnanhkhoa / nb_black

A simple extension for Jupyter Notebook and Jupyter Lab to beautify Python code automatically using black.
MIT License
367 stars 41 forks source link

it does not format in WSL #3

Closed uremember809 closed 5 years ago

uremember809 commented 5 years ago

I have jupyter installed in windowsubsystem linux, python 3.6.8. Nb_black installed fine, but cells will not get formated.

dnanhkhoa commented 5 years ago

Hi, thank you for pointing it out, Have you put this line %load_ext nb_black into the first cell of your notebook? Or did you get any error message?

uremember809 commented 5 years ago

I am not able to identify what is wrong.

I %load_ext lab_black

no error message, code runs, just won't format.

However, on another machine it works fine.

On Mon, Apr 8, 2019 at 2:08 AM Khoa Duong notifications@github.com wrote:

Hi, thank you for pointing it out, Have you put this line %load_ext nb_black into the first cell of your notebook? Or did you get any error message?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnanhkhoa/nb_black/issues/3#issuecomment-480696268, or mute the thread https://github.com/notifications/unsubscribe-auth/Ag_H03WXsW4OkFcKn_Bu3O5sj8qyY5SGks5vetzcgaJpZM4cgkMb .