1 repo
Utilities that format code examples embedded within documentation tests.
Distinguishing note: Focuses on doctest-specific syntax preservation.
Explore 1 awesome GitHub repository matching testing & quality assurance · Doctest Formatting Tools. Refine with filters or upvote what's useful.
This project is an uncompromising, deterministic code formatter for Python. It functions by parsing source code into an abstract syntax tree and regenerating it according to a rigid, opinionated set of style rules. By automating the formatting process, it eliminates manual style debates and configuration overhead, ensuring that code remains consistent across entire projects regardless of the original input. The tool distinguishes itself through its focus on speed and seamless integration into development workflows. It utilizes content-based file caching and parallel processing to maintain hig
Standardizes the appearance of code examples embedded in documentation by applying consistent formatting rules to doctest blocks.