Open Zac-HD opened 1 year ago
With current latest black, 23.3.0 (compiled: yes):
black, 23.3.0 (compiled: yes)
import black code = """ assert some_long_name, ( # long __________________________ comment 'long ___________________________________ string %s' % str(variable)) """ black.format_file_contents(code, fast=False, mode=black.FileMode())
Specifically, this stabilizes at the second run:
assert some_long_name, ( # long __________________________ comment 'long ___________________________________ string %s' % str(variable)) assert some_long_name, ( "long ___________________________________ string %s" % str(variable) # long __________________________ comment ) assert some_long_name, "long ___________________________________ string %s" % str( variable ) # long __________________________ comment
With current latest
black, 23.3.0 (compiled: yes)
:Specifically, this stabilizes at the second run: