1load("@rules_python//python:defs.bzl", "py_library") 2 3py_library( 4 name = "simple_binary_with_library", 5 srcs = [ 6 "__init__.py", 7 "bar.py", 8 "foo.py", 9 ], 10) 11 12# This target should be kept unmodified by Gazelle. 13py_library( 14 name = "custom", 15 srcs = [ 16 "bar.py", 17 ], 18) 19