PyCQA / baron

IDE allow you to refactor code, Baron allows you to write refactoring code.
http://baron.pycqa.org
GNU Lesser General Public License v3.0
289 stars 50 forks source link

Location of comment after decorator not handled correctly #173

Open James4Ever0 opened 1 year ago

James4Ever0 commented 1 year ago

source code:


@dec # some comment
def a():
    return abcd

transformed:

@dec
 # some comment
def a():
    return abcd