Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2017 (3)
20082026
  1. …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…
  2. For preserving comments, use redbaron: https://github.com/PyCQA/redbaron It's lossless, besides, the API is much nicer.
  3. …does get you over this hump. EDIT: Looks like the python community has already a package for this: https://github.com/PyCQA/redbaron
  4. …than the advanced texts modification tools that you find in advanced text editors and IDE. [1] https://github.com/PyCQA/redbaron
  5. …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
  6. 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
  7. …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