I am using black==20.8b1
.
I have a long string like:
return f"{self.name}, a {adjective.to_name()} {kin_string}{self._type.to_name()} who works for the {target.get_relationship_target_string()}."
I run:
$ black -l 80 . -t py38
All done! β¨ π° β¨
2 files left unchanged.
Why is the string not wrapped? I thought that black
supports wrapping strings now (based on issues in github).
--experimental-string-processing now
:--preview
. When running with--experimental-string-processing
:<string>:12: Deprecated:
experimental string processing` has been included inpreview
and deprecated. Usepreview
instead.` β Godfry