From 7d2509e8a4e27810143b462bd0f2cfc21b48193b Mon Sep 17 00:00:00 2001 From: Googler Date: Thu, 5 Dec 2024 13:29:33 -0800 Subject: [PATCH] Automatic code cleanup. PiperOrigin-RevId: 703230851 Change-Id: I406086a9f4e03c4f0f8ba413c18587f2ae0997eb --- tools/android/instrumentation_test_check.py | 1 - tools/android/junction_test.py | 1 - tools/aquery_differ/aquery_differ.py | 1 - tools/aquery_differ/aquery_differ_test.py | 1 - tools/build_defs/pkg/build_tar.py | 2 -- tools/ctexplain/analyses/summary.py | 1 - tools/ctexplain/analyses/summary_test.py | 1 - tools/ctexplain/bazel_api.py | 1 - tools/ctexplain/ctexplain.py | 1 - tools/ctexplain/types.py | 1 - tools/ctexplain/types_test.py | 1 - tools/jdk/proguard_allowlister_test.py | 2 -- 12 files changed, 14 deletions(-) diff --git a/tools/android/instrumentation_test_check.py b/tools/android/instrumentation_test_check.py index c73af24a5e8070..05335116db7d0a 100644 --- a/tools/android/instrumentation_test_check.py +++ b/tools/android/instrumentation_test_check.py @@ -22,7 +22,6 @@ import sys import xml.etree.ElementTree as ET -# Do not edit this line. Copybara replaces it with PY2 migration helper. from absl import app from absl import flags diff --git a/tools/android/junction_test.py b/tools/android/junction_test.py index da60478499429b..2dbced57cb8b14 100644 --- a/tools/android/junction_test.py +++ b/tools/android/junction_test.py @@ -16,7 +16,6 @@ import os import unittest -# Do not edit this line. Copybara replaces it with PY2 migration helper. from src.test.py.bazel import test_base from tools.android import junction diff --git a/tools/aquery_differ/aquery_differ.py b/tools/aquery_differ/aquery_differ.py index 595454cc7963db..2eac2ea11f5b75 100644 --- a/tools/aquery_differ/aquery_differ.py +++ b/tools/aquery_differ/aquery_differ.py @@ -38,7 +38,6 @@ import os import sys -# Do not edit this line. Copybara replaces it with PY2 migration helper. from absl import app from absl import flags from google.protobuf import text_format diff --git a/tools/aquery_differ/aquery_differ_test.py b/tools/aquery_differ/aquery_differ_test.py index 3d156bb7a561df..9fb36641121e83 100644 --- a/tools/aquery_differ/aquery_differ_test.py +++ b/tools/aquery_differ/aquery_differ_test.py @@ -17,7 +17,6 @@ import os import unittest -# Do not edit this line. Copybara replaces it with PY2 migration helper. from third_party.py import mock from src.main.protobuf import analysis_v2_pb2 diff --git a/tools/build_defs/pkg/build_tar.py b/tools/build_defs/pkg/build_tar.py index a4eb5acd681bd1..d5d4a3d9ed0360 100644 --- a/tools/build_defs/pkg/build_tar.py +++ b/tools/build_defs/pkg/build_tar.py @@ -17,8 +17,6 @@ import os import sys -# Do not edit this line. Copybara replaces it with PY2 migration helper. - from tools.build_defs.pkg import archive diff --git a/tools/ctexplain/analyses/summary.py b/tools/ctexplain/analyses/summary.py index 6669e6c5216445..de92aed340acb7 100644 --- a/tools/ctexplain/analyses/summary.py +++ b/tools/ctexplain/analyses/summary.py @@ -14,7 +14,6 @@ """Analysis that summarizes basic graph info.""" from typing import Tuple -# Do not edit this line. Copybara replaces it with PY2 migration helper. from dataclasses import dataclass from tools.ctexplain.types import ConfiguredTarget diff --git a/tools/ctexplain/analyses/summary_test.py b/tools/ctexplain/analyses/summary_test.py index 399b1fd1eec938..41e01aa21d0b3b 100644 --- a/tools/ctexplain/analyses/summary_test.py +++ b/tools/ctexplain/analyses/summary_test.py @@ -14,7 +14,6 @@ """Tests for summary.py.""" import unittest -# Do not edit this line. Copybara replaces it with PY2 migration helper. from frozendict import frozendict # Do not edit this line. Copybara replaces it with PY2 migration helper..third_party.bazel.tools.ctexplain.analyses.summary as summary diff --git a/tools/ctexplain/bazel_api.py b/tools/ctexplain/bazel_api.py index 02a16174a6eb02..e8f34bb1eaf1ae 100644 --- a/tools/ctexplain/bazel_api.py +++ b/tools/ctexplain/bazel_api.py @@ -21,7 +21,6 @@ from typing import Callable from typing import List from typing import Tuple -# Do not edit this line. Copybara replaces it with PY2 migration helper. from frozendict import frozendict from tools.ctexplain.types import Configuration from tools.ctexplain.types import ConfiguredTarget diff --git a/tools/ctexplain/ctexplain.py b/tools/ctexplain/ctexplain.py index 65814799a35cb1..cecc164b73cba9 100644 --- a/tools/ctexplain/ctexplain.py +++ b/tools/ctexplain/ctexplain.py @@ -37,7 +37,6 @@ from typing import Callable from typing import Tuple -# Do not edit this line. Copybara replaces it with PY2 migration helper. from absl import app from absl import flags from dataclasses import dataclass diff --git a/tools/ctexplain/types.py b/tools/ctexplain/types.py index c738d32238e3ae..ab588d5e8eb58e 100644 --- a/tools/ctexplain/types.py +++ b/tools/ctexplain/types.py @@ -16,7 +16,6 @@ from typing import Mapping from typing import Optional from typing import Tuple -# Do not edit this line. Copybara replaces it with PY2 migration helper. from dataclasses import dataclass from dataclasses import field from frozendict import frozendict diff --git a/tools/ctexplain/types_test.py b/tools/ctexplain/types_test.py index d883598f2a9b88..acd3ba6e924049 100644 --- a/tools/ctexplain/types_test.py +++ b/tools/ctexplain/types_test.py @@ -13,7 +13,6 @@ # limitations under the License. """Tests for types.py.""" import unittest -# Do not edit this line. Copybara replaces it with PY2 migration helper. from frozendict import frozendict from tools.ctexplain.types import Configuration diff --git a/tools/jdk/proguard_allowlister_test.py b/tools/jdk/proguard_allowlister_test.py index 92357be7811d0a..eca1e8bc09e3b0 100644 --- a/tools/jdk/proguard_allowlister_test.py +++ b/tools/jdk/proguard_allowlister_test.py @@ -15,8 +15,6 @@ import os import unittest -# Do not edit this line. Copybara replaces it with PY2 migration helper. - from tools.jdk import proguard_allowlister