chrishkchris edited a comment on issue #603: format on latest dev URL: https://github.com/apache/singa/pull/603#issuecomment-588022282 > command used on ubuntu container > yapf 0.29.0 > clang-format version 3.8.0-2ubuntu4 (tags/RELEASE_380/final) > # format cpp code by clang-format > find src/api/ \ > src/core/ \ > src/proto/ \ > src/utils/ \ > include/singa/core/ \ > include/singa/utils/ \ > test/singa/ -iname *.h -o -iname *.cc | xargs clang-format -i > > # format python code by yapf > find python/ \ > examples/autograd \ > test/python/ -iname *.py | xargs yapf -i @shicong this commands can detect the project root config file which indicates google style?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
