diff --git a/tools/buildgen/extract_metadata_from_bazel_xml.py b/tools/buildgen/extract_metadata_from_bazel_xml.py index 2baf41c3c1c..55b1dd467db 100755 --- a/tools/buildgen/extract_metadata_from_bazel_xml.py +++ b/tools/buildgen/extract_metadata_from_bazel_xml.py @@ -738,9 +738,7 @@ def _exclude_unwanted_cc_tests(tests: List[str]) -> List[str]: # we have not added otel dependency outside of bazel tests = [ - test - for test in tests - if not test.startswith("test/cpp/ext/otel:") + test for test in tests if not test.startswith("test/cpp/ext/otel:") ] # missing opencensus/stats/stats.h diff --git a/tools/distrib/python/make_grpcio_tools.py b/tools/distrib/python/make_grpcio_tools.py index 727a9acac98..112505d01e8 100755 --- a/tools/distrib/python/make_grpcio_tools.py +++ b/tools/distrib/python/make_grpcio_tools.py @@ -238,15 +238,19 @@ def _delete_source_tree(target): print("Deleting copied folder %s" % (target_abs)) shutil.rmtree(target_abs, ignore_errors=True) + def main(): parser = argparse.ArgumentParser() # In Step 1 below, the third_party folder is copied to a location required - # by the build scripts. This folder does not need to be committed to the - # repo, so you can pass `--cleanup_third_party` in automated scripts to + # by the build scripts. This folder does not need to be committed to the + # repo, so you can pass `--cleanup_third_party` in automated scripts to # ensure that the temporary folders are deleted after the script runs. # See Jan's TODO in _copy_source_tree above. parser.add_argument( - "--cleanup_third_party", default=False, action="store_true", help="Delete the temporary third_party folder" + "--cleanup_third_party", + default=False, + action="store_true", + help="Delete the temporary third_party folder", ) args = parser.parse_args() os.chdir(GRPC_ROOT)