aboutsummaryrefslogtreecommitdiffstats
path: root/extras/scripts/checkstyle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/scripts/checkstyle.sh')
-rwxr-xr-xextras/scripts/checkstyle.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/scripts/checkstyle.sh b/extras/scripts/checkstyle.sh
index f8a83f3ec9d..4dcf77874d3 100755
--- a/extras/scripts/checkstyle.sh
+++ b/extras/scripts/checkstyle.sh
@@ -18,6 +18,8 @@ set -eEo pipefail
CLANG_FORMAT_VER_REGEX='([0-9]+)\.[0-9]+\.[0-9]+'
CLANG_FORMAT_DIFF="/usr/share/clang/clang-format-diff.py"
+# TODO: Remove clang-format-${CLANG_FORMAT_VER} from 'make install-deps' when
+# CLANG_FORMAT_VER default value is upgraded
CLANG_FORMAT_VER=${CLANG_FORMAT_VER:-10}
GIT_DIFF_ARGS="-U0 --no-color --relative HEAD~1"
CLANG_FORMAT_DIFF_ARGS="-style file -p1"