aboutsummaryrefslogtreecommitdiff
path: root/gazelle/python/testdata/first_party_dependencies/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'gazelle/python/testdata/first_party_dependencies/README.md')
-rw-r--r--gazelle/python/testdata/first_party_dependencies/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/gazelle/python/testdata/first_party_dependencies/README.md b/gazelle/python/testdata/first_party_dependencies/README.md
new file mode 100644
index 0000000..f57e255
--- /dev/null
+++ b/gazelle/python/testdata/first_party_dependencies/README.md
@@ -0,0 +1,11 @@
+# First-party dependencies
+
+There are 2 different scenarios that the extension needs to handle:
+
+1. Import statements that match sub-directory names.
+2. Import statements that don't match sub-directory names and need a hint from
+ the user via directives.
+
+This test case asserts that the generated targets cover both scenarios.
+
+With the hint we need to check if it's a .py file or a directory with `__init__.py` file.