Closed mtlynch closed 7 years ago
Apparently this is a behavior change in YAPF:
https://github.com/google/yapf/issues/325
They're considering a fix, but there's a workaround possible:
https://github.com/google/yapf/issues/325#issuecomment-261552890
The pre-commit hook should block the commit if the YAPF diff turns up a delta, but currently it seems to just print a message and keep going. We should change the
build
so that it returns a failing exit code on a non-zero diff.