Currently we hit YAPF issues in travis occasionally. We might want to add some documentation to help developers run YAPF before they check in, and fix any formatting problems.
To show YAPF discrepancies we can run:
yapf --diff -r .
After doing this, developers can either apply the changes manually, or automatically apply them with:
yapf -r -i .
Currently we hit YAPF issues in travis occasionally. We might want to add some documentation to help developers run YAPF before they check in, and fix any formatting problems.
To show YAPF discrepancies we can run:
yapf --diff -r .
After doing this, developers can either apply the changes manually, or automatically apply them with:
yapf -r -i .