BUILD 880 B

1234567891011121314151617181920212223242526272829303132333435
  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. size = "small",
  14. srcs = ["github_helpers_test.py"],
  15. python_version = "PY3",
  16. deps = [":github_helpers"],
  17. )
  18. py_binary(
  19. name = "pr_comments",
  20. srcs = ["pr_comments.py"],
  21. python_version = "PY3",
  22. deps = ["github_helpers"],
  23. )
  24. py_test(
  25. name = "pr_comments_test",
  26. size = "small",
  27. srcs = ["pr_comments_test.py"],
  28. python_version = "PY3",
  29. deps = [":pr_comments"],
  30. )