Get clang-format from pip and upgrade to version 16

This allows relying on a specific version of clang-format and no longer
use any version checks. In addition, we can use --dry-run -Werror in
order to avoid having to run against every file individually.

Fix #29847.
Fix #29846.
This commit is contained in:
Martin Robinson 2023-06-08 16:41:38 +02:00
parent ac09fdf0c7
commit d4eadc9e37
2 changed files with 18 additions and 32 deletions

View file

@ -36,4 +36,7 @@ six == 1.15
# For sending build notifications.
notify-py == 0.3.42
# For formatting C++ files.
clang-format ~= 16.0.0
-e python/tidy