-
Notifications
You must be signed in to change notification settings - Fork 900
Closed
Labels
Description
I am using clang-format a lot. And it's very convenient to do so via clang-format-diff script (quick description from https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/clang-format-diff.py):
ClangFormat Diff Reformatter
============================
This script reads input from a unified diff and reformats all the changed
lines. This is useful to reformat all the lines touched by a specific patch.
Example usage for git/svn users:
git diff -U0 HEAD^ | clang-format-diff.py -p1 -i
svn diff --diff-cmd=diff -x-U0 | clang-format-diff.py -i
It would great to have similar script for yapf. Looks like currently yapf doesn't have this mode available.
Do you have plans on supporting this?
sandlerben, alecbz, esmail and GMNGeoffrey