Skip to content

Benefit from using Black support in ms-python.python? #30

Answered by karthiknadig
Rawk asked this question in Q&A
Discussion options

You must be logged in to vote

Direct benefits are:

  • It's much faster (as long as you don't specify the path to black, else it's the same)
  • Black is included (so you don't have to install it)
  • Supports formatting of unsaved file buffer, unlike python extension where we create temporary file to format.
  • Supports notebook cell formatting

Indirectly:

  • We can update this w/o updating the entire Python extension
  • It's easier to contribute to since nearly all the code for this extension is written in Python

FYI we will be removing black support in the Python extension once we are happy with this extension.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Rawk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants