/
githubmirror
/
carbon-lang
Обзор
Документация
Войти
/
githubmirror
/
carbon-lang
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
pyproject.toml
39 строк
900 B
Chandler Carruth
Switch a few stragglers to `uv` and update python to 3.12 (#7296)
03 июн 2026, 08:34
Не верифицирован
03 июн 2026, 08:34
b344f3a
Код
Авторство
О чём код?
# 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 [project] requires-python = ">=3.12" [tool.ruff] line-length = 80 target-version = "py312" [tool.ruff.lint] select = ["E", "F", "W", "I", "ANN"] ignore = ["ANN401", "ANN204"] [tool.ruff.lint.per-file-ignores] "*_test.py" = ["ANN"] "proposals/**" = ["ANN"] "examples/bazel_test_runner.py" = ["ANN"] "**/lit.cfg.py" = ["ANN"] [tool.ruff.lint.isort] combine-as-imports = true [tool.ty.rules] all = "error" possibly-unresolved-reference = "ignore" [tool.ty.src] exclude = [ "proposals/p0555/figures.py", "proposals/__init__.py", "**/lit.cfg.py", "examples/bazel_test_runner.py", "**/*_test.py", ] [tool.ty.analysis] allowed-unresolved-imports = ["rich.**", "requests", "bazel_tools.**"]