It would be nice to be able to use it on our python 3 repos! I found myself wanting to move things in Khan/buildmaster and I couldn't. I think there will be three parts to this: 1. Use isort (#24) or make `fix_python_imports` 2/3 compatible. 2. Make slicker itself 2/3 compatible -- using the python 3 `ast` module is probably the best way to parse python 3. 3. Add functionality to handle new python 3 syntaxes that affect slicker's operation, like `f`-strings and unicode identifiers.
It would be nice to be able to use it on our python 3 repos! I found myself wanting to move things in Khan/buildmaster and I couldn't.
I think there will be three parts to this:
fix_python_imports2/3 compatible.astmodule is probably the best way to parse python 3.f-strings and unicode identifiers.