Skip to content

Commit de1222b

Browse files
committed
better provider name
1 parent 50f8830 commit de1222b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/uv/private/lock.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ visibility(["//..."])
5252
_uv_toolchain = Label("//python/uv:uv_toolchain_type")
5353
_py_toolchain = Label("//python:toolchain_type")
5454

55-
_LockInfo = provider(
55+
_RunLockInfo = provider(
5656
doc = "",
5757
fields = {
5858
"args": "",
@@ -128,7 +128,7 @@ def _lock_impl(ctx):
128128

129129
return [
130130
DefaultInfo(files = depset([output])),
131-
_LockInfo(
131+
_RunLockInfo(
132132
args = run_args + args,
133133
srcs = srcs,
134134
uv = uv,
@@ -202,7 +202,7 @@ script depending on what the target platform is executed on.
202202
)
203203

204204
def _lock_run_impl(ctx):
205-
info = ctx.attr.lock[_LockInfo]
205+
info = ctx.attr.lock[_RunLockInfo]
206206
uv = info.uv
207207
srcs = info.srcs
208208
py_runtime = info.py
@@ -249,7 +249,7 @@ _lock_run = rule(
249249
attrs = {
250250
"lock": attr.label(
251251
doc = "The lock target that is doing locking in a build action.",
252-
providers = [_LockInfo],
252+
providers = [_RunLockInfo],
253253
),
254254
"output": attr.string(
255255
doc = "The output that we would be updated.",

0 commit comments

Comments
 (0)