bazel-contrib / bazel-contrib/rules_python
Add a library that defines a `Label` class in python
- 主要言語
- Starlark
- スター
- 688
- フォーク
- 721
- 平均マージ
- 15時間 7分
- マージ済み PR(30日)
- 76
説明
# 🚀 feature request
### Description
I would love `rules_python` to expose a library similar to [@rules_rust//util/label](https://github.com/bazelbuild/rules_rust/blob/0.32.0/util/label/label.rs) which defines a validated representation of a [Label](https://bazel.build/rules/lib/builtins/Label) for users to use in their code.
It'd be fantastic if the interface was a class (`Label`) that did validation on `__init__`.
コントリビューションガイド
調査の方向性
Start by comparing the requested interface with @rules_rust//util/label and the Bazel Label documentation linked in the issue. Define the scope of validation and where the new Python library belongs, then verify that it exposes a Label class whose constructor validates its input.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100