Open
Description
variable = ( (something) # a comment .fist_method("some string") )gets reformatted to
variable = (something) # a comment .fist_method("some string")which is a syntax error, so there's a bug in ruff here.
Originally posted by @olofahlen in #8598