mirror of
https://github.com/wassname/ray.git
synced 2026-07-10 11:48:56 +08:00
[Build] Make sure local format.sh check protobuf (#10118)
* Ignore protobuf files for clangformat check * Revert "Ignore protobuf files for clangformat check" This reverts commit ccd84d4e1517220eb4e946918174150ce2265467. * Make sure protobuf is checked locally
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ format_all() {
|
||||
|
||||
echo "$(date)" "clang-format...."
|
||||
if command -v clang-format >/dev/null; then
|
||||
git ls-files -- '*.cc' '*.h' "${GIT_LS_EXCLUDES[@]}" | xargs -P 5 clang-format -i
|
||||
git ls-files -- '*.cc' '*.h' '*.proto' "${GIT_LS_EXCLUDES[@]}" | xargs -P 5 clang-format -i
|
||||
fi
|
||||
|
||||
if command -v shellcheck >/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user