• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@rules_python//python:defs.bzl", "py_library", "py_test")
2
3# gazelle:python_generation_mode file
4
5# This target should be kept unmodified by Gazelle.
6py_library(
7    name = "custom",
8    srcs = ["bar.py"],
9    tags = ["cant_touch_this"],
10    visibility = ["//visibility:private"],
11)
12
13py_library(
14    name = "baz",
15    srcs = ["baz.py"],
16    visibility = ["//:__subpackages__"],
17)
18
19py_library(
20    name = "foo",
21    srcs = ["foo.py"],
22    visibility = ["//:__subpackages__"],
23    deps = [":custom"],
24)
25
26py_test(
27    name = "bar_test",
28    srcs = ["bar_test.py"],
29)
30
31py_test(
32    name = "foo_test",
33    srcs = ["foo_test.py"],
34)
35