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

Option to use yapf? #31

Closed filyp closed 3 years ago

filyp commented 3 years ago

Thanks for this awesome extension! It's really effortless. My only issue is, that I'd prefer to use yapf. I've seen that it already does for python<3.6, so adding this option would be easy, for example by adding file lab_yapf.py.

I can add it if you say it's ok.

MarcoGorelli commented 3 years ago

Hi @fsondej - if yapf if out-of-scope for this library, then (sorry for the self-promotion) you may be able to run it via nbqa