Open MarcoGorelli opened 3 years ago
Looks like it already uses this, right? https://github.com/dnanhkhoa/nb_black/search?q=format_cell&type=code
That's different
Sorry, you're correct.
On Sat, Sep 11, 2021 at 12:11 AM Marco Edward Gorelli < @.***> wrote:
That's different
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dnanhkhoa/nb_black/issues/35#issuecomment-917349845, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJNQDCCCYANJO4CIM3YKY3UBLXK3ANCNFSM5DOQ5P2A .
No worries :smile:
@MarcoGorelli It seems like work has slowed down on this, so I've created a fork with a few enhancements, including:
black.format_cell
pyproject.toml
Wow, nice, thanks!
black
now has a functionformat_cell
, which could be used directly. Would a PR to use this (instead of the current magic handling) be welcome?