mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
c++ code format (#4527)
This commit is contained in:
@@ -28,6 +28,11 @@ if ! [[ $(python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}') -ge 36
|
||||
please change the default python to higher version."
|
||||
exit 1
|
||||
fi
|
||||
if ! [[ $version == *"$VERSION"* ]]; then
|
||||
# low version of pip may not have the source of clang-format whl
|
||||
pip install --upgrade pip
|
||||
pip install clang-format==13.0.0
|
||||
fi
|
||||
|
||||
# Exclude any files under the 'test/ce/server/' directory from code style checks.
|
||||
diff_files=$(git diff --name-only --diff-filter=ACMR ${BRANCH} | grep -v '^tests/ce/server/')
|
||||
|
||||
Reference in New Issue
Block a user