• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@pip_39//:requirements.bzl", "entry_point")
2load("@rules_python//python:defs.bzl", "py_test")
3
4alias(
5    name = "yamllint",
6    actual = entry_point("yamllint"),
7)
8
9py_test(
10    name = "entry_point_test",
11    srcs = ["test_entry_point.py"],
12    data = [
13        ":yamllint",
14    ],
15    env = {
16        "YAMLLINT_ENTRY_POINT": "$(rlocationpath :yamllint)",
17    },
18    main = "test_entry_point.py",
19    deps = ["@rules_python//python/runfiles"],
20)
21