Re:Show HN: Python Source Code Refactoring Toolkit via AST
by treesciencebot on Sunday August 01, 2021 @03:59PM
(#28029350)
Yes! I love to do transformations with lib2to3, but unfortunately it is now deprecated. As I've stated in the README, for complex refactorings I also would personally prefer working with CST (probably through parso instead of regular lib2to3), but for refactoring small fragments I wasn't able to observe major differences in formatting in big codebases. Thanks for sharing this btw!
[ Parent
| on HN ]