BUILD 874 B

12345678910111213141516171819202122232425262728293031
  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("@mypy_integration//:mypy.bzl", "mypy_test")
  5. # Note that this Python script is intended to be run directly, and not through
  6. # Bazel. We have a rule for it so we can type check it.
  7. py_binary(
  8. name = "create_compdb",
  9. srcs = ["create_compdb.py"],
  10. )
  11. mypy_test(
  12. name = "create_compdb_mypy_test",
  13. include_imports = True,
  14. deps = [":create_compdb"],
  15. )
  16. # Note that this Python script is intended to be run directly, and not through
  17. # Bazel. We have a rule for it so we can type check it.
  18. py_binary(
  19. name = "fix_cc_deps",
  20. srcs = ["fix_cc_deps.py"],
  21. )
  22. mypy_test(
  23. name = "fix_cc_deps_mypy_test",
  24. include_imports = True,
  25. deps = [":fix_cc_deps"],
  26. )