diff --git a/black.toml b/black.toml index d9855919010..e655f7f8e7e 100644 --- a/black.toml +++ b/black.toml @@ -43,7 +43,7 @@ known_first_party = [ ] known_third_party = ["grpc"] skip_glob = [ - "third_party/*", + "*/third_party/*", "*/env/*", "*pb2*.py", "*pb2*.pyi", diff --git a/tools/dockerfile/grpc_clang_format/clang_format_all_the_things.sh b/tools/dockerfile/grpc_clang_format/clang_format_all_the_things.sh index 56503164a2c..96fb2237f1c 100755 --- a/tools/dockerfile/grpc_clang_format/clang_format_all_the_things.sh +++ b/tools/dockerfile/grpc_clang_format/clang_format_all_the_things.sh @@ -51,6 +51,7 @@ do -and -not -name grpc_tls_credentials_options.h \ -and -not -name grpc_tls_credentials_options_comparator_test.cc \ -and -not -path '*/cmake/build/*' \ + -and -not -path '*/third_party/*' \ `" done done