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

add support for variable annotations #145

Closed scottbelden closed 5 years ago

scottbelden commented 5 years ago

This adds support for variable annotations such as x: int = 1 and y: str. There was another PR that was similar (https://github.com/PyCQA/baron/pull/116) but I think this more closely matches the python grammar.

I have a related redbaron PR that I will push shortly.

Psycojoker commented 5 years ago

Merge by hand and complet the work, thx a lot <3

but I think this more closely matches the python grammar

Indeed, congratulation for being among the few who succeeded at respecting it :)