diff options
Diffstat (limited to 'gazelle/python/testdata/relative_imports/BUILD.out')
-rw-r--r-- | gazelle/python/testdata/relative_imports/BUILD.out | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gazelle/python/testdata/relative_imports/BUILD.out b/gazelle/python/testdata/relative_imports/BUILD.out new file mode 100644 index 0000000..2c08627 --- /dev/null +++ b/gazelle/python/testdata/relative_imports/BUILD.out @@ -0,0 +1,21 @@ +load("@rules_python//python:defs.bzl", "py_binary", "py_library") + +py_library( + name = "relative_imports", + srcs = [ + "package1/module1.py", + "package1/module2.py", + ], + visibility = ["//:__subpackages__"], +) + +py_binary( + name = "relative_imports_bin", + srcs = ["__main__.py"], + main = "__main__.py", + visibility = ["//:__subpackages__"], + deps = [ + ":relative_imports", + "//package2", + ], +) |