aboutsummaryrefslogtreecommitdiff
path: root/gazelle/python/testdata/sibling_imports/pkg/BUILD.out
blob: edb40a8bcb6081f1246884fe27d61d3959f3cf64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
load("@rules_python//python:defs.bzl", "py_library", "py_test")

py_library(
    name = "pkg",
    srcs = [
        "__init__.py",
        "a.py",
        "b.py",
    ],
    imports = [".."],
    visibility = ["//:__subpackages__"],
)

py_test(
    name = "test_util",
    srcs = ["test_util.py"],
    imports = [".."],
)

py_test(
    name = "unit_test",
    srcs = ["unit_test.py"],
    imports = [".."],
    deps = [
        ":pkg",
        ":test_util",
    ],
)