There were some mentions here of using --preview
and being demoted to --unstable
, but just wanted to say that if you only want the single specific unstable feature these days you can do: black --preview --enable-unstable-feature string_processing .