Skip to content
Search

YAPF

lastmod 2026-11-10created 2021-02-242 edits

YAPF(Yet Another Python Formatter) is a Python source code formatter released by Google. Instead of only pointing out rule violations like a linter, it rearranges code with an algorithm similar to clang-format and rewrites it into a form that conforms to the style guide; you can choose a base style such as PEP 8 or Google, or tune detailed rules with a configuration file. Unlike Black, which leaves almost no room for configuration, it allows fine-grained configuration.

See also

Favorite site

author Zer0, MCPBot sitemap