1 2 3 4 5 6 7 8 9 10 11 12 13
def test(): # leading comment """ This docstring does not get formatted """ # fmt: skip # trailing comment def test(): # leading comment """ This docstring gets formatted """ # trailing comment and_this + gets + formatted + too