blob: 8835fb2ad7fa98c59affc1d83d0c9ea6834cd08d [file] [log] [blame]
load("@rules_python//python:defs.bzl", "py_library", "py_test")
# gazelle:python_generation_mode_per_file_include_init true
py_library(
name = "__init__",
srcs = ["__init__.py"],
visibility = ["//:__subpackages__"],
)
py_library(
name = "bar",
srcs = [
"__init__.py",
"bar.py",
],
visibility = ["//:__subpackages__"],
)
py_library(
name = "foo",
srcs = [
"__init__.py",
"foo.py",
],
visibility = ["//:__subpackages__"],
)
py_test(
name = "bar_test",
srcs = [
"__test__.py",
"bar_test.py",
],
main = "__test__.py",
)
py_test(
name = "foo_test",
srcs = [
"__test__.py",
"foo_test.py",
],
main = "__test__.py",
)