PyCQA/redbaron
View on GitHub ↗ ★ 726 Python
Bottom-up approach to refactoring in python
7 mentions on Hacker News by 6 people: 0 stories, 7 comments · first 2017-01-11 · latest 2024-01-24
20082026
-
…the code after mutating it? Instagram/LibCST: https://github.com/Instagram/LibCST PyCQA/redbaron: https://github.com/PyCQA/redbaron E.g. PyCQA/bandit does static analysis for security issues in Python code: https://github.com/PyCQA/bandit…
comment by westurner · 2024-01-24 · in Show HN: Codemodder – A new codemod library for Java and Python -
For preserving comments, use redbaron: https://github.com/PyCQA/redbaron It's lossless, besides, the API is much nicer.
comment by BiteCode_dev · 2021-06-07 · in Abstract Syntax Tree for Patching Code and Assessing Code Quality -
…does get you over this hump. EDIT: Looks like the python community has already a package for this: https://github.com/PyCQA/redbaron
comment by heinrichhartman · 2021-06-07 · in Abstract Syntax Tree for Patching Code and Assessing Code Quality -
…than the advanced texts modification tools that you find in advanced text editors and IDE. [1] https://github.com/PyCQA/redbaron
comment by Cynddl · 2018-09-14 · in Bowler: Safe code refactoring for modern Python -
…really interest me: the abstraction that attempt to make writing custom refactoring a doable task https://github.com/pycqa/redbaron Good luck with your project :)
comment by brabram · 2017-02-12 · in From AST to Lossless Syntax Tree -
There's redbaron, which provides a full syntax tree, and is designed for making such changes: https://github.com/PyCQA/redbaron
comment by icebraining · 2017-02-12 · in From AST to Lossless Syntax Tree -
…trying to do the same, I recommend the redbaron library, which makes it much easier to handle: https://github.com/PyCQA/redbaron )
comment by icebraining · 2017-01-11 · in A Prettier JavaScript Formatter