bazel-contrib / bazel-contrib/rules_python

Add a library that defines a `Label` class in python

Abierto
#1,601 5 comentarios 0 reacciones 0 asignados Ver en GitHub
help wanted
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

Abrir la 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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.