1 repository
Tools that use abstract syntax tree manipulation to perform structural code changes beyond simple whitespace formatting.
Distinct from Python Code Formatters: Focuses on structural AST transformations (like identity tests) rather than general style formatting.
Explore 1 awesome GitHub repository matching programming languages & runtimes · AST-Based Refactoring. Refine with filters or upvote what's useful.
autopep8 is a Python static code styler and formatter designed to automatically rewrite source code to comply with the PEP 8 style guide. It functions as a recursive code cleaner that identifies and fixes indentation, whitespace, and syntax irregularities across entire projects. The tool performs structural refactoring using abstract syntax tree transformations to execute non-whitespace changes, such as shortening long lines and improving identity tests. It includes an aggressive refactoring mode for complex style violations and supports selective formatting via inline markers to disable chan
Performs structural refactoring using abstract syntax tree transformations to execute non-whitespace changes.