BUILD 840 B

123456789101112131415161718192021222324252627282930313233
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. load("@py_deps//:requirements.bzl", "requirement")
  5. load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
  6. py_library(
  7. name = "github_helpers",
  8. srcs = ["github_helpers.py"],
  9. deps = [requirement("gql")],
  10. )
  11. py_test(
  12. name = "github_helpers_test",
  13. srcs = ["github_helpers_test.py"],
  14. python_version = "PY3",
  15. deps = [":github_helpers"],
  16. )
  17. py_binary(
  18. name = "pr_comments",
  19. srcs = ["pr_comments.py"],
  20. python_version = "PY3",
  21. deps = ["github_helpers"],
  22. )
  23. py_test(
  24. name = "pr_comments_test",
  25. srcs = ["pr_comments_test.py"],
  26. python_version = "PY3",
  27. deps = [":pr_comments"],
  28. )