Black added an option for range formatting: https://github.com/psf/black/pull/4020
The problem is it has one option to specify both rowStart and rowEnd.
I tried something like black --no-color -q ${--line-ranges=rowStart-rowEnd} -, but it doesn't work and instead formats the entire file. And yes, I set formatCanRange to true
Black added an option for range formatting: https://github.com/psf/black/pull/4020 The problem is it has one option to specify both
rowStart
androwEnd
. I tried something likeblack --no-color -q ${--line-ranges=rowStart-rowEnd} -
, but it doesn't work and instead formats the entire file. And yes, I setformatCanRange
totrue