bazel-contrib/rules_python

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

Open

#1,601 opened on Dec 9, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Starlark (705 forks)auto 404
help wanted

Repository metrics

Stars
 (679 stars)
PR merge metrics
 (PR metrics pending)

Description

🚀 feature request

Description

I would love rules_python to expose a library similar to @rules_rust//util/label which defines a validated representation of a Label for users to use in their code.

It'd be fantastic if the interface was a class (Label) that did validation on __init__.

Contributor guide