pytorch/xla
uses clang-format-7
with a customized style config.
If your PR touches the C++ source files, please run the following command before submmiting a PR.
# If your PR only changes foo.cpp, run the following in xla/ folder
clang-format-7 -i -style /PATH/TO/foo.cpp
# To format all cpp files, run the follwoing in xla/ folder
find -name '*.cpp' -o -name '*.h' | xargs clang-format-7 -i -style=file
pytorch/xla
uses yapf
with a customized style config.
If your PR touches the Python source files, please run the following command before submmiting a PR.
#TODO: