Closed warsaw closed 3 years ago
Closes #3
It seems like black uses is_docstring() both for re-indentation and re-quoting strings, but for our use case, we only care about re-quoting. And docstrings can be a single line, so they should get re-quoted.
is_docstring()
Also closes #8
I'm going to go ahead and merge this. We can always revert, but it WFM!
Closes #3
It seems like black uses
is_docstring()
both for re-indentation and re-quoting strings, but for our use case, we only care about re-quoting. And docstrings can be a single line, so they should get re-quoted.