File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
gazelle/python/testdata/subdir_sources Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ # gazelle:python_generation_mode project
Original file line number Diff line number Diff line change 1+
12load("@rules_python//python:defs.bzl", "py_binary")
23
4+ # gazelle:python_generation_mode project
5+
36py_binary(
47 name = "subdir_sources_bin",
58 srcs = ["__main__.py"],
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ py_binary(
1111 srcs = ["__main__.py"],
1212 main = "__main__.py",
1313 visibility = ["//:__subpackages__"],
14- deps = ["//foo "],
14+ deps = [":has_main "],
1515)
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ py_test(
1010 name = "has_test_test",
1111 srcs = ["__test__.py"],
1212 main = "__test__.py",
13- deps = ["//foo "],
13+ deps = [":has_test "],
1414)
You can’t perform that action at this time.
0 commit comments