mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 21:04:54 +01:00
I'm treating my PR to mypy bazel integration as dead in the water. Abandoning that approach, this seems to work reasonably well as a replacement. It's actually a slightly newer version of mypy too -- the bazel integration was stuck on an old version. Note I don't think we're losing much: we shouldn't be writing too much python.
18 lines
457 B
Python
18 lines
457 B
Python
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
py_binary(
|
|
name = "new_proposal",
|
|
srcs = ["new_proposal.py"],
|
|
python_version = "PY3",
|
|
)
|
|
|
|
py_test(
|
|
name = "new_proposal_test",
|
|
srcs = ["new_proposal_test.py"],
|
|
data = ["template.md"],
|
|
python_version = "PY3",
|
|
deps = [":new_proposal"],
|
|
)
|