Closed
Description
Hey there, thanks for the great plugin!
It seems that range formatting isn't really effective with python-lsp-black. If you try to format a few lines inside a function, nothing will change:
It does work great if you format the whole function, though:
Also, it will trim whitespaces if you select those (notice the line returns that disappeared between the two functions):
I previously used a (non-LSP) package based on black-machiatto that gave excellent results for that kind of operations.
Would you consider using black-machiatto in python-lsp-black as well for range formatting?