bazel-contrib / bazel-contrib/rules_python
Add a library that defines a `Label` class in python
- Lenguaje dominante
- Starlark
- Estrellas
- 688
- Forks
- 721
- Merge medio
- 15 h 7 min
- PR fusionados (30 d)
- 76
Descripción
# 🚀 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__`.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- build-system
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100