aboutsummaryrefslogtreecommitdiff
path: root/gazelle/python/testdata/file_name_matches_import_statement/rest_framework.py
diff options
context:
space:
mode:
authorVinh Tran <vinhdaitran@google.com>2023-07-24 13:52:04 -0400
committerVinh Tran <vinhdaitran@google.com>2023-07-24 13:57:03 -0400
commitb14b3520de9a1d6e38eb6cd63749ef78c28946c2 (patch)
treeacdcc148cabfb6f8242a6c83e37625eeaea4e628 /gazelle/python/testdata/file_name_matches_import_statement/rest_framework.py
parent62c90a8ca6aa21d4e60cfe32b3784609d80480f6 (diff)
parentbb7004b1c8e79220ad0212dbc131e11a06aecf6c (diff)
downloadbazelbuild-rules_python-main-16k.tar.gz
Merge remote-tracking branch 'aosp/upstream-main' into mainplatform-tools-34.0.5main-16k
Add three more files - METADATA - MODULE_LICENSE_APACHE2 - OWNERS Test: N/A Bug: 290219820 Change-Id: Ic4dccf130d29e6963332b212d8aa071b24629f58
Diffstat (limited to 'gazelle/python/testdata/file_name_matches_import_statement/rest_framework.py')
-rw-r--r--gazelle/python/testdata/file_name_matches_import_statement/rest_framework.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/gazelle/python/testdata/file_name_matches_import_statement/rest_framework.py b/gazelle/python/testdata/file_name_matches_import_statement/rest_framework.py
new file mode 100644
index 0000000..43098d2
--- /dev/null
+++ b/gazelle/python/testdata/file_name_matches_import_statement/rest_framework.py
@@ -0,0 +1,17 @@
+# Copyright 2023 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import rest_framework
+
+_ = rest_framework