QtPyConvert
QtPyConvert copied to clipboard
Investigate how black is doing their AST transformations
black has a really really high quality replacement system.
Ideally we should investigate their tokenizing system and see if we can remove our redbaron dependency.
Demo gist
https://gist.github.com/Ahuge/f9f1c1d275889bbff82dac1760135c13
You have to modify lib2to3
Might have to reimplement parts of lib2to3 to add py2.7 support.
It's mostly based on pgen2