Skip to content

Commit d11a7c5

Browse files
committed
update
1 parent c74a8ce commit d11a7c5

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# gazelle:python_generation_mode project

gazelle/python/testdata/subdir_sources/BUILD.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
12
load("@rules_python//python:defs.bzl", "py_binary")
23

4+
# gazelle:python_generation_mode project
5+
36
py_binary(
47
name = "subdir_sources_bin",
58
srcs = ["__main__.py"],

gazelle/python/testdata/subdir_sources/foo/has_main/BUILD.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
)

gazelle/python/testdata/subdir_sources/foo/has_test/BUILD.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)