logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Format Python Code - YAPF Style Guide | Online Free DevTools by Hexmos

Format Python code automatically with YAPF. Ensure consistent style and readability across your projects. Free online tool, no registration required.

yapf

Python style guide checker. More information: https://github.com/google/yapf.

  • Display a diff of the changes that would be made, without making them (dry-run):

yapf {{[-d|--diff]}} {{path/to/file}}

  • Recursively format all Python files in a directory, concurrently:

yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{path/to/directory}}

See Also